goocanvas 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -206,7 +206,7 @@ rg_set_child_property(VALUE self, VALUE child,
|
|
206
206
|
}
|
207
207
|
|
208
208
|
static VALUE
|
209
|
-
rg_canvas(VALUE self
|
209
|
+
rg_canvas(VALUE self)
|
210
210
|
{
|
211
211
|
return GOBJ2RVAL(goo_canvas_item_get_canvas(SELF(self)));
|
212
212
|
}
|
@@ -262,6 +262,4 @@ Init_goocanvasitem(VALUE mGoo)
|
|
262
262
|
|
263
263
|
G_DEF_CLASS(GOO_TYPE_CANVAS_POINTER_EVENTS, "PointerEvents",RG_TARGET_NAMESPACE);
|
264
264
|
G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GOO_TYPE_CANVAS_POINTER_EVENTS,"GOO_CANVAS_");
|
265
|
-
|
266
|
-
G_DEF_SETTERS(RG_TARGET_NAMESPACE);
|
267
265
|
}
|
@@ -24,6 +24,10 @@
|
|
24
24
|
#include <rbgdk-pixbuf.h>
|
25
25
|
#include "rbgoocanvas.h"
|
26
26
|
|
27
|
+
#ifndef G_VALUE_INIT
|
28
|
+
# define G_VALUE_INIT { 0, { { 0 } } }
|
29
|
+
#endif
|
30
|
+
|
27
31
|
void Init_goocanvas(void); /* Goo::Canvas */
|
28
32
|
G_GNUC_INTERNAL void Init_goocanvasitem(VALUE mGoo); /* Goo::CanvasItem */
|
29
33
|
G_GNUC_INTERNAL void Init_goocanvastext(VALUE mGoo); /* Goo::CanvasText */
|
@@ -35,7 +35,7 @@ rg_initialize(VALUE self)
|
|
35
35
|
static VALUE
|
36
36
|
rg_set_fill_pattern(VALUE self, VALUE value)
|
37
37
|
{
|
38
|
-
GValue gval =
|
38
|
+
GValue gval = G_VALUE_INIT;
|
39
39
|
cairo_pattern_t *pattern;
|
40
40
|
|
41
41
|
g_value_init(&gval, GOO_TYPE_CAIRO_PATTERN);
|
@@ -59,6 +59,4 @@ Init_goocanvasstyle(VALUE mGoo)
|
|
59
59
|
|
60
60
|
RG_DEF_METHOD(initialize, 0);
|
61
61
|
RG_DEF_METHOD(set_fill_pattern, 1);
|
62
|
-
|
63
|
-
G_DEF_SETTERS(RG_TARGET_NAMESPACE);
|
64
62
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: goocanvas
|
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/GooCanvas is a Ruby binding of GooCanvas.
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
requirements: []
|
111
111
|
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 1.8.
|
113
|
+
rubygems_version: 1.8.15
|
114
114
|
signing_key:
|
115
115
|
specification_version: 3
|
116
116
|
summary: Ruby/GooCanvas is a Ruby binding of GooCanvas.
|