gtk2svg 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a55c872601bd2d4c2fc6bf06dcb2584fbf0f243c
4
- data.tar.gz: beff474fdeea18a06e29fb0b0638a6f74ccc23b9
3
+ metadata.gz: f90b08cd767819c94e498cb352134ce0ba79ad09
4
+ data.tar.gz: a231f02040a53b0bcdc1d3f93a91e86f14f4b618
5
5
  SHA512:
6
- metadata.gz: 8d371d6758b11617697842efa6434513e89d7fbd45c17a8ffb719f34ec689e73420cbd357c41d3da37eb8a4440cad55daf6caed57223a01ece9623252ed1b46a
7
- data.tar.gz: c1686b09617e0aa837a0fbb3e26fcb1351ade542f348847af88568b3c481097a124ccbffc1ea29abbf43b0751dc453adf710bd2b6c398bde920035a35452d51f
6
+ metadata.gz: 5b08f0637552740330aa554839d665b914bea5ac7c027d23809e0bb12caf97883fe6d1c54c8c0bcb9e1499abcfb0ccdcee9fe1acef39757e32b5f337fb547400
7
+ data.tar.gz: 41289d1c386245d2ab73990683caaf2152d6096777f91eaed110363dcb161052f2910198bc0d635100ad646342789bdb2c2a34d9971c553fbb9443e335a0f498
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -165,7 +165,7 @@ module Gtk2SVG
165
165
  end
166
166
 
167
167
  def gc_ini(fill: nil, stroke: nil)
168
- gc = Gdk::GC.new(area.window)
168
+ gc = Gdk::GC.new(@area.window)
169
169
  colour = fill || stroke
170
170
  gc.set_foreground(set_colour(colour)) unless colour == :none
171
171
  gc
@@ -182,7 +182,7 @@ module Gtk2SVG
182
182
  def initialize(svg)
183
183
 
184
184
  @svg = svg
185
- @doc = Svgle.new(svg)
185
+ @doc = Svgle.new(svg, callback: self)
186
186
  @area = area = Gtk::DrawingArea.new
187
187
 
188
188
  window = Gtk::Window.new
@@ -211,7 +211,7 @@ module Gtk2SVG
211
211
 
212
212
  def svg=(svg)
213
213
  @svg = svg
214
- @doc = Svgle.new(svg)
214
+ @doc = Svgle.new(svg, callback: self)
215
215
  end
216
216
 
217
217
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk2svg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file