gtk3 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- metadata +14 -24
- data/test/test_gdk.rb +0 -18
- data/test/test_gdk_color.rb +0 -10
- data/test/test_gdk_display.rb +0 -37
- data/test/test_gdk_event.rb +0 -11
- data/test/test_gdk_gc.rb +0 -7
- data/test/test_gdk_keymap.rb +0 -8
- data/test/test_gdk_pango.rb +0 -9
- data/test/test_gdk_selection_data.rb +0 -17
- data/test/test_gdk_window.rb +0 -29
- data/test/test_gdk_window_attribute.rb +0 -9
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gtk3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: glib2
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.2.
|
21
|
+
version: 1.2.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.2.
|
29
|
+
version: 1.2.6
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: gio2
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.2.
|
37
|
+
version: 1.2.6
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.2.
|
45
|
+
version: 1.2.6
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: atk
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.2.
|
53
|
+
version: 1.2.6
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.2.
|
61
|
+
version: 1.2.6
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: pango
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ! '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.2.
|
69
|
+
version: 1.2.6
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.2.
|
77
|
+
version: 1.2.6
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: gdk_pixbuf2
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirements:
|
83
83
|
- - ! '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 1.2.
|
85
|
+
version: 1.2.6
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.2.
|
93
|
+
version: 1.2.6
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: gdk3
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.2.
|
101
|
+
version: 1.2.6
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.2.
|
109
|
+
version: 1.2.6
|
110
110
|
description: Ruby/GTK3 is a Ruby binding of GTK+-3.x.
|
111
111
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
112
112
|
executables: []
|
@@ -515,16 +515,6 @@ files:
|
|
515
515
|
- test/gtk-test-utils.rb
|
516
516
|
- test/run-test.rb
|
517
517
|
- test/test_gc.rb
|
518
|
-
- test/test_gdk.rb
|
519
|
-
- test/test_gdk_color.rb
|
520
|
-
- test/test_gdk_display.rb
|
521
|
-
- test/test_gdk_event.rb
|
522
|
-
- test/test_gdk_gc.rb
|
523
|
-
- test/test_gdk_keymap.rb
|
524
|
-
- test/test_gdk_pango.rb
|
525
|
-
- test/test_gdk_selection_data.rb
|
526
|
-
- test/test_gdk_window.rb
|
527
|
-
- test/test_gdk_window_attribute.rb
|
528
518
|
- test/test_gtk_about_dialog.rb
|
529
519
|
- test/test_gtk_accel_group_entry.rb
|
530
520
|
- test/test_gtk_accel_key.rb
|
data/test/test_gdk.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
class TestGdk < Test::Unit::TestCase
|
2
|
-
include GtkTestUtils
|
3
|
-
|
4
|
-
def test_notify_startup_complete
|
5
|
-
assert_nothing_raised do
|
6
|
-
Gdk.notify_startup_complete
|
7
|
-
end
|
8
|
-
|
9
|
-
notify_with_id = Proc.new do
|
10
|
-
Gdk.notify_startup_complete("startup-id")
|
11
|
-
end
|
12
|
-
if Gtk.check_version?(2, 12, 0)
|
13
|
-
assert_nothing_raised(¬ify_with_id)
|
14
|
-
else
|
15
|
-
assert_raise(NotImplementedError, ¬ify_with_id)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
data/test/test_gdk_color.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
class TestGdkColor < Test::Unit::TestCase
|
2
|
-
def test_to_s
|
3
|
-
color = Gdk::Color.new(0xffff, 0x1234, 0xabcd)
|
4
|
-
if Gtk.check_version?(2, 12, 0)
|
5
|
-
assert_equal("#ffff1234abcd", color.to_s)
|
6
|
-
else
|
7
|
-
assert_match(/\A#<Gdk::Color:.*>\z/, color.to_s)
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
data/test/test_gdk_display.rb
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
class TestGdkDisplay < Test::Unit::TestCase
|
2
|
-
include GtkTestUtils
|
3
|
-
|
4
|
-
def test_supports_predicates
|
5
|
-
display = Gdk::Display.default
|
6
|
-
|
7
|
-
assert_boolean(display.supports_shapes?)
|
8
|
-
assert_boolean(display.supports_input_shapes?)
|
9
|
-
only_gtk_version(2, 12, 0)
|
10
|
-
assert_boolean(display.supports_composite?)
|
11
|
-
end
|
12
|
-
|
13
|
-
def test_startup_notification_id
|
14
|
-
only_gtk_version(2, 12, 0)
|
15
|
-
only_x11
|
16
|
-
|
17
|
-
display = Gdk::Display.default
|
18
|
-
assert_nil(display.startup_notification_id)
|
19
|
-
end
|
20
|
-
|
21
|
-
def test_broadcast_startup_message
|
22
|
-
omit("Not yet implemented (GNOME bug #528020)")
|
23
|
-
only_gtk_version(2, 16, 0)
|
24
|
-
only_x11
|
25
|
-
|
26
|
-
id = "#{$$}_TIME_#{Time.now.to_i}"
|
27
|
-
screen = Gdk::Screen.default.number.to_s
|
28
|
-
assert_nothing_raised do
|
29
|
-
Gdk::Display.default.broadcast_startup_message("new",
|
30
|
-
"ID" => id,
|
31
|
-
"NAME" => "Hello World",
|
32
|
-
"SCREEN" => screen)
|
33
|
-
Gdk::Display.default.broadcast_startup_message("remove",
|
34
|
-
"ID" => id)
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
data/test/test_gdk_event.rb
DELETED
data/test/test_gdk_gc.rb
DELETED
data/test/test_gdk_keymap.rb
DELETED
data/test/test_gdk_pango.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
class TestSelectionData < Test::Unit::TestCase
|
2
|
-
def setup
|
3
|
-
@window = Gtk::Invisible.new.window
|
4
|
-
end
|
5
|
-
|
6
|
-
def test_type_integer
|
7
|
-
name = "ID"
|
8
|
-
value = 10
|
9
|
-
Gdk::Property.change(@window, name,
|
10
|
-
Gdk::Selection::TYPE_INTEGER,
|
11
|
-
:replace, value)
|
12
|
-
assert_equal([Gdk::Selection::TYPE_INTEGER, [value]],
|
13
|
-
Gdk::Property.get(@window, name,
|
14
|
-
Gdk::Selection::TYPE_INTEGER,
|
15
|
-
false)[0, 2])
|
16
|
-
end
|
17
|
-
end
|
data/test/test_gdk_window.rb
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
class TestGdkWindow < Test::Unit::TestCase
|
2
|
-
include GtkTestUtils
|
3
|
-
|
4
|
-
def setup
|
5
|
-
@window = Gtk::Invisible.new.window
|
6
|
-
end
|
7
|
-
|
8
|
-
def test_set_composited
|
9
|
-
only_gtk_version(2, 12, 0)
|
10
|
-
assert_nothing_raised do
|
11
|
-
@window.composited = false
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
def test_set_opacity
|
16
|
-
only_gtk_version(2, 12, 0)
|
17
|
-
assert_nothing_raised do
|
18
|
-
@window.opacity = 0.5
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
def test_set_startup_id
|
23
|
-
only_gtk_version(2, 12, 0)
|
24
|
-
assert_nothing_raised do
|
25
|
-
@window.startup_id = "startup-id"
|
26
|
-
@window.startup_id = nil
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
class TestGtkWindowAttribute < Test::Unit::TestCase
|
2
|
-
include GtkTestUtils
|
3
|
-
|
4
|
-
def test_initialize
|
5
|
-
attrs = Gdk::WindowAttr.new(100, 100, :only, :temp)
|
6
|
-
assert_equal([100, 100, Gdk::Window::INPUT_ONLY, Gdk::Window::TEMP],
|
7
|
-
[attrs.width, attrs.height, attrs.wclass, attrs.window_type])
|
8
|
-
end
|
9
|
-
end
|