poppler 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ rg_initialize(VALUE self, VALUE red, VALUE green, VALUE blue)
51
51
  color.green = NUM2UINT(green);
52
52
  color.blue = NUM2UINT(blue);
53
53
 
54
- G_INITIALIZE(self, &color);
54
+ G_INITIALIZE(self, g_boxed_copy(POPPLER_TYPE_COLOR, &color));
55
55
  return Qnil;
56
56
  }
57
57
 
@@ -35,7 +35,7 @@ rg_initialize(VALUE self, VALUE x1, VALUE y1, VALUE x2, VALUE y2)
35
35
  rectangle.x2 = NUM2DBL(x2);
36
36
  rectangle.y2 = NUM2DBL(y2);
37
37
 
38
- G_INITIALIZE(self, &rectangle);
38
+ G_INITIALIZE(self, g_boxed_copy(POPPLER_TYPE_RECTANGLE, &rectangle));
39
39
  return Qnil;
40
40
  }
41
41
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poppler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-24 00:00:00.000000000 Z
12
+ date: 2013-03-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Ruby/Poppler is a Ruby binding of poppler-glib.
15
15
  email: ruby-gnome2-devel-en@lists.sourceforge.net