goocanvas 1.1.2-x86-mingw32 → 1.1.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@
26
26
  static VALUE
27
27
  rg_to_goo(VALUE self)
28
28
  {
29
- GValue gval = {0,};
29
+ GValue gval = G_VALUE_INIT;
30
30
  VALUE result;
31
31
 
32
32
  g_value_init(&gval, GOO_TYPE_CAIRO_MATRIX);
@@ -26,7 +26,7 @@
26
26
  static VALUE
27
27
  rg_to_goo(VALUE self)
28
28
  {
29
- GValue gval = {0,};
29
+ GValue gval = G_VALUE_INIT;
30
30
  VALUE result;
31
31
 
32
32
  g_value_init(&gval, GOO_TYPE_CAIRO_PATTERN);
@@ -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, VALUE tx, VALUE ty)
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 = {0,};
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
  }
data/lib/1.8/goocanvas.so CHANGED
Binary file
data/lib/1.9/goocanvas.so CHANGED
Binary file
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
11
11
  platform: x86-mingw32
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-01-15 00:00:00 Z
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: 23
28
+ hash: 21
29
29
  segments:
30
30
  - 1
31
31
  - 1
32
- - 2
33
- version: 1.1.2
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.
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements: []
213
213
 
214
214
  rubyforge_project:
215
- rubygems_version: 1.8.12
215
+ rubygems_version: 1.8.15
216
216
  signing_key:
217
217
  specification_version: 3
218
218
  summary: Ruby/GooCanvas is a Ruby binding of GooCanvas.