gdk3 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e637fb4de621dbbcf765d42bc33d0432ca4c4223
4
- data.tar.gz: f0bde85fcbcf41c97723228bf2f2f078b38475a8
3
+ metadata.gz: c785eb5144a403a7c81b9725496fe3970619f93e
4
+ data.tar.gz: fe8f8b2a95a73fa5abfe8a1721f3f50698c33624
5
5
  SHA512:
6
- metadata.gz: 96600db4fe2b6b16909f578b00266a985496839b239595c6b17e040b4d2b826e1102c302e13b1f9d055cb05cd5c8745eae2a4fdb178897bfe256d30b9994aada
7
- data.tar.gz: 9011966501e20081e4be7dc9a48df120a85a50e22deb2f5ef0b79f6229c541c306f50bb07150d66d3abc2b709fb3918a52bd4fe5634d193dbb770df797e14da0
6
+ metadata.gz: dc834b861c036efa4703d51315a972248bc987bf8104c83ae1d433eec761b0916d9e05468391aee19fd59f60b1acbaf30cf17bd81b3e6ec0d9fcf7c0c873f74d
7
+ data.tar.gz: 3a01334a061f36c7e5112505b916cfb8ee563b969808f240d6a93fe4833581014347f470dbbba13e3f4f6e5c0c7f89496a79bd2fc33d797e23c17034473cd4cf
data/Rakefile CHANGED
@@ -74,6 +74,18 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
74
74
  :built_file => "bin/libgdk-3-0.dll",
75
75
  },
76
76
  },
77
+ {
78
+ :name => "hicolor-icon-theme",
79
+ :download_base_url => "http://icon-theme.freedesktop.org/releases",
80
+ :label => "gtk-hi-color-icon-theme",
81
+ :version => "0.15",
82
+ :compression_method => "xz",
83
+ :windows => {
84
+ :configure_args => [],
85
+ :build_concurrently => false,
86
+ :built_file => "share/icons/hicolor/index.theme",
87
+ }
88
+ },
77
89
  {
78
90
  :name => "adwaita-icon-theme",
79
91
  :download_site => :gnome,
@@ -17,12 +17,12 @@
17
17
  module Cairo
18
18
  class Context
19
19
  if method_defined?(:set_source_color)
20
- alias_method :set_source_not_gdk_color, :set_source_color
20
+ alias_method :set_source_color_raw, :set_source_color
21
21
  def set_source_color(color)
22
22
  if color.is_a?(Gdk::Color)
23
23
  set_source_gdk_color(color)
24
24
  else
25
- set_source_not_gdk_color(color)
25
+ set_source_color_raw(color)
26
26
  end
27
27
  end
28
28
  else
@@ -35,16 +35,16 @@ module Cairo
35
35
  end
36
36
 
37
37
  if method_defined?(:set_source_rgba)
38
- alias_method :set_source_not_gdk_rgba, :set_source_rgba
38
+ alias_method :set_source_rgba_raw, :set_source_rgba
39
39
  def set_source_rgba(rgba, g=nil, b=nil, a=nil)
40
40
  case rgba
41
41
  when Gdk::RGBA
42
42
  set_source_gdk_rgba(rgba)
43
43
  when Array
44
- set_source_not_gdk_rgba(rgba)
44
+ set_source_rgba_raw(rgba)
45
45
  else
46
46
  r = rgba
47
- set_source_not_gdk_rgba([r, g, b, a])
47
+ set_source_rgba_raw([r, g, b, a || 1.0])
48
48
  end
49
49
  end
50
50
  else
@@ -1,3 +1,19 @@
1
+ # Copyright (C) 2011-2015 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
1
17
  module Gdk
2
18
  extend GLib::Deprecatable
3
19
  define_deprecated_enums :GrabStatus, 'GRAB'
@@ -90,7 +106,8 @@ module Gdk
90
106
 
91
107
  class EventScroll
92
108
  extend GLib::Deprecatable
93
- define_deprecated_enums :ScrollDirection
109
+ define_deprecated_const :Direction, "Gdk::ScrollDirection"
110
+ define_deprecated_enums "Gdk::ScrollDirection"
94
111
  end
95
112
 
96
113
  class EventSetting
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2014-2015 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -17,5 +17,10 @@
17
17
  module Gdk
18
18
  class Window
19
19
  alias_method :invalidate, :invalidate_rect
20
+
21
+ alias_method :user_data_raw, :user_data
22
+ def user_data
23
+ Loader.instantiate_gobject_pointer(user_data_raw)
24
+ end
20
25
  end
21
26
  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.1
4
+ version: 3.0.2
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: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2015-09-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.1
19
+ version: 3.0.2
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.1
26
+ version: 3.0.2
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.1
33
+ version: 3.0.2
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.1
40
+ version: 3.0.2
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.1
47
+ version: 3.0.2
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.1
54
+ version: 3.0.2
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.1
61
+ version: 3.0.2
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.1
68
+ version: 3.0.2
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: []