gdk3 3.0.9 → 3.1.0

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: 24ca85b7b8b5bdbf8393593de717792c078e191e
4
- data.tar.gz: f552847d29218aa8a1647f0dd2598d7f9e41ce8f
3
+ metadata.gz: 66e09025a852c556e2ac92d8d1e7c52684ea8e8f
4
+ data.tar.gz: a1177016ccdb5f5ea8f45b84cf706386e43108fc
5
5
  SHA512:
6
- metadata.gz: 680ea7b99b663a7bfc425e8ac1a1c854242a7ad5e96b845689aaedff8dff6bf4d550912363e67c92a6e52645478de2d899371e12a57b5bee067e0ad676abad02
7
- data.tar.gz: 5b03e46d4dba356a5ab77ff6ae4ff1f5e29330d3140c4eccc185fd6456ad5c094dde88095449a730a4c387d9b0de25eaa583c3eccf8e19472b54cada1547a617
6
+ metadata.gz: fc9fff28ba378f344cfb9ee55133ccf33f36d92d5be734c08b2b3756a56d60b8acdb72d13bf3414262e372576b5477eca84c3a2cf4a6dbce2cd7482bb3d362de
7
+ data.tar.gz: a9cc26e97eeb6e82aeaf1094dbdb09146fdb8d568e05f2c77433109dc8cd6e00437bd5d42f6454b487ba121d4d6788a184dba5e0d7dd3e8e3c3d35c9ee522158
data/Rakefile CHANGED
@@ -59,7 +59,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
59
59
  :name => "gtk+",
60
60
  :download_site => :gnome,
61
61
  :label => "GTK+",
62
- :version => "3.20.8",
62
+ :version => "3.22.3",
63
63
  :compression_method => "xz",
64
64
  :windows => {
65
65
  :configure_args => [
@@ -67,6 +67,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
67
67
  "--with-included-immodules",
68
68
  ],
69
69
  :patches => [
70
+ "gtk+-3.22.3-add-missing-win32-winnt.diff",
70
71
  ],
71
72
  :need_autoreconf => true,
72
73
  :build_concurrently => false,
@@ -89,7 +90,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
89
90
  :name => "adwaita-icon-theme",
90
91
  :download_site => :gnome,
91
92
  :label => "adwaita-icon-theme",
92
- :version => "3.20",
93
+ :version => "3.22.0",
93
94
  :compression_method => "xz",
94
95
  :windows => {
95
96
  :use_gobject_introspection => false,
data/lib/gdk3.rb CHANGED
@@ -46,6 +46,7 @@ module Gdk
46
46
  end
47
47
  end
48
48
 
49
+ @@init_hooks = []
49
50
  def init
50
51
  class << self
51
52
  remove_method(:init)
@@ -56,6 +57,14 @@ module Gdk
56
57
  if Object.const_defined?(:Gtk) and Gtk.respond_to?(:init)
57
58
  Gtk.init
58
59
  end
60
+
61
+ @@init_hooks.each do |hook|
62
+ hook.call
63
+ end
64
+ end
65
+
66
+ def on_init(&block)
67
+ @@init_hooks << block
59
68
  end
60
69
 
61
70
  def cairo_available?
data/lib/gdk3/event.rb CHANGED
@@ -29,6 +29,16 @@ module Gdk
29
29
  end
30
30
 
31
31
  class EventFocus
32
+ alias_method :in_raw=, :in=
33
+ def in=(value)
34
+ if value == true
35
+ value = 1
36
+ elsif !value
37
+ value = 0
38
+ end
39
+ self.in_raw = value
40
+ end
41
+
32
42
  alias_method :in_raw, :in
33
43
  remove_method :in
34
44
  def in?
data/lib/gdk3/loader.rb CHANGED
@@ -54,12 +54,6 @@ module Gdk
54
54
  define_selection_constants
55
55
  end
56
56
 
57
- def initialize_post(object)
58
- super
59
- return unless object.is_a?(GLib::Object)
60
- self.class.reference_gobject(object, :sink => true)
61
- end
62
-
63
57
  def setup_pending_constants
64
58
  @pending_constants = []
65
59
  end
@@ -82,7 +76,7 @@ module Gdk
82
76
  get_type_info = @pending_rectangle_get_type_function
83
77
  if get_type_info
84
78
  rectangle_class = load_cairo_rectangle_int
85
- gtype = get_type_info.invoke({:arguments => []})
79
+ gtype = get_type_info.invoke([])
86
80
  self.class.register_boxed_class_converter(gtype) do |rectangle|
87
81
  rectangle_class
88
82
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdk3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-12 00:00:00.000000000 Z
11
+ date: 2016-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pango
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.9
19
+ version: 3.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.9
26
+ version: 3.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gdk_pixbuf2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.9
33
+ version: 3.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.9
40
+ version: 3.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cairo-gobject
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.9
47
+ version: 3.1.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.0.9
54
+ version: 3.1.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: gobject-introspection
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.9
61
+ version: 3.1.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.9
68
+ version: 3.1.0
69
69
  description: Ruby/GDK3 is a Ruby binding of GDK-3.x.
70
70
  email: ruby-gnome2-devel-en@lists.sourceforge.net
71
71
  executables: []