vte 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/vte/rbvte-terminal.c +2 -0
- data/ext/vte/rbvte.h +7 -0
- metadata +8 -8
data/ext/vte/rbvte-terminal.c
CHANGED
@@ -1057,7 +1057,9 @@ Init_vte_terminal(VALUE mVte)
|
|
1057
1057
|
#if VTE_CHECK_VERSION(0, 19, 1)
|
1058
1058
|
G_DEF_CLASS(VTE_TYPE_TERMINAL_CURSOR_SHAPE, "CursorShape", RG_TARGET_NAMESPACE);
|
1059
1059
|
#endif
|
1060
|
+
#if VTE_CHECK_VERSION(0, 24, 0)
|
1060
1061
|
G_DEF_CLASS(VTE_TYPE_TERMINAL_WRITE_FLAGS, "WriteFlags", RG_TARGET_NAMESPACE);
|
1062
|
+
#endif
|
1061
1063
|
|
1062
1064
|
RG_DEF_METHOD(initialize, 0);
|
1063
1065
|
|
data/ext/vte/rbvte.h
CHANGED
@@ -12,6 +12,13 @@
|
|
12
12
|
# include "rbvteversion.h"
|
13
13
|
#endif
|
14
14
|
|
15
|
+
#undef RG_DEF_METHOD
|
16
|
+
#define RG_DEF_METHOD(method, argc) \
|
17
|
+
rb_define_method(RG_TARGET_NAMESPACE, #method, rg_ ## method, argc)
|
18
|
+
#undef RG_DEF_SMETHOD
|
19
|
+
#define RG_DEF_SMETHOD(method, argc) \
|
20
|
+
rb_define_singleton_method(RG_TARGET_NAMESPACE, #method, rg_s_ ## method, argc)
|
21
|
+
|
15
22
|
#define RVAL2TERM(obj) (RVAL2GOBJ(obj))
|
16
23
|
#define RVAL2COLOR(obj) ((GdkColor *)RVAL2BOXED(obj, GDK_TYPE_COLOR))
|
17
24
|
#define COLOR2RVAL(obj) (BOXED2RVAL(obj, GDK_TYPE_COLOR))
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vte
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 3
|
10
|
+
version: 1.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- The Ruby-GNOME2 Project Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-04-08 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: gtk2
|
@@ -25,12 +25,12 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
28
|
+
hash: 21
|
29
29
|
segments:
|
30
30
|
- 1
|
31
31
|
- 1
|
32
|
-
-
|
33
|
-
version: 1.1.
|
32
|
+
- 3
|
33
|
+
version: 1.1.3
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
description: Ruby/VTE is a Ruby binding of VTE.
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
requirements: []
|
90
90
|
|
91
91
|
rubyforge_project:
|
92
|
-
rubygems_version: 1.8.
|
92
|
+
rubygems_version: 1.8.15
|
93
93
|
signing_key:
|
94
94
|
specification_version: 3
|
95
95
|
summary: Ruby/VTE is a Ruby binding of VTE.
|