gdk3 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +12 -0
- data/lib/gdk3/cairo.rb +5 -5
- data/lib/gdk3/deprecated.rb +18 -1
- data/lib/gdk3/window.rb +6 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c785eb5144a403a7c81b9725496fe3970619f93e
|
4
|
+
data.tar.gz: fe8f8b2a95a73fa5abfe8a1721f3f50698c33624
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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 :
|
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
|
-
|
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 :
|
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
|
-
|
44
|
+
set_source_rgba_raw(rgba)
|
45
45
|
else
|
46
46
|
r = rgba
|
47
|
-
|
47
|
+
set_source_rgba_raw([r, g, b, a || 1.0])
|
48
48
|
end
|
49
49
|
end
|
50
50
|
else
|
data/lib/gdk3/deprecated.rb
CHANGED
@@ -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
|
-
|
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
|
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.
|
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
|
+
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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: []
|