gdk3 3.0.1-x86-mingw32 → 3.0.2-x86-mingw32

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: 0ffefb83f471181146ef58734c93a937c6ecfc52
4
- data.tar.gz: 4ff7526db40123e6bf78f1fcde6c421889f76ebe
3
+ metadata.gz: 5ce5421c0e9c6ede06c1af0f4e7b86e36ffb574d
4
+ data.tar.gz: 161bde3487fc45f68bb673e07187defaab88e6cc
5
5
  SHA512:
6
- metadata.gz: af210d9c6e3d1240b526d831d977cace55dea49e7d3001e4372782f49979bfda5708633c4a9c69e7988f3c58d8515fcf832cdb2209cf098499a0e228fbd1d707
7
- data.tar.gz: 4516ce3c24ede32b10e45f9a072e13bc4f00a867700c726c34f5a21a89aaa30f6a060ad2e8d42700e3e0bf73cbe3d987ae2b02df32ce10d4bb7bceba8f7b6573
6
+ metadata.gz: 1c7b565a6f9834fbc99296486f033e01cbd5cc64830ac6959133075ae1724fe5f61cae8ce4dbd0edf4324dc5bd3b72cefde5ff30f52c0a2672b48729d241159e
7
+ data.tar.gz: 0c0e030ad563025c6cfaec7b6b5216ae4184bf745b27697ee154db833c1f003e82575d6fa0fffbcba8489e1179262918fc95d09d5aae26579b703a431c2da67a
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,
data/lib/gdk3/cairo.rb CHANGED
@@ -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
data/lib/gdk3/window.rb CHANGED
@@ -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
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file