gtk3 3.2.0-x64-mingw32 → 3.2.1-x64-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: d3dd373e0f171c95f98a0da781fd07f76199eae5
4
- data.tar.gz: e635e00b1e1b8f86d6089967dbb66e83cbd36917
3
+ metadata.gz: 9753f764ea9ad7ecf87d8fafd089e51c0ba9fb3a
4
+ data.tar.gz: 2727e021d8ebda4b295289c2abea131599f0b689
5
5
  SHA512:
6
- metadata.gz: 1365da17223187960dc0b95e1301b6b24d8bbc5809daae26c070152445ae8e127ba92987ef4149342834f631a79641eb660eebcc2c7d6a556ade9f3d15b38ac8
7
- data.tar.gz: f36a1c0b639d2becae93c3c39d6aa6d65f494edc758a3e90539cb843fe0636feff2a698e4b9e99df2888501d959b3e2052a1b138148358325887c5ea8fd720ff
6
+ metadata.gz: 54cf12ec1e484e2299ec913a8e177b76e7d04c3d244f783f55fac8ba54b1b2364efbe3b9a2421ab3949b4dfb50162d9b3b815792bbf253917be6dd044db95e75
7
+ data.tar.gz: 8772cf6fadcd14eeeb2f467d0c8b19c762246f5084ced6868fe1aa572015f4c55558344a05102b8d08d389a3b5545c16907c98251c22877354be77dd97878e44
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2015 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2015-2017 Ruby-GNOME2 Project Team
4
4
  *
5
5
  * This library is free software; you can redistribute it and/or
6
6
  * modify it under the terms of the GNU Lesser General Public
@@ -32,5 +32,6 @@ G_GNUC_INTERNAL void rbgtk3_spin_button_init(void);
32
32
  G_GNUC_INTERNAL void rbgtk3_tree_model_init(void);
33
33
  G_GNUC_INTERNAL void rbgtk3_tree_view_init(void);
34
34
  G_GNUC_INTERNAL void rbgtk3_widget_init(void);
35
+ G_GNUC_INTERNAL void rbgtk3_window_init(void);
35
36
 
36
37
  #endif
@@ -0,0 +1,78 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2017 Ruby-GNOME2 Project Team
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
+ * MA 02110-1301 USA
19
+ */
20
+
21
+ #include "rb-gtk3-private.h"
22
+
23
+ typedef struct {
24
+ int dummy;
25
+ } ToplevelWindowMarkerData;
26
+
27
+ static void
28
+ toplevel_window_marker_mark(G_GNUC_UNUSED void *_)
29
+ {
30
+ GList *list = gtk_window_list_toplevels();
31
+ GList *node;
32
+ for (node = list; node; node = g_list_next(node)) {
33
+ rbgobj_gc_mark_instance(node->data);
34
+ }
35
+ g_list_free(list);
36
+ }
37
+
38
+ static void
39
+ toplevel_window_marker_free(void *data)
40
+ {
41
+ xfree(data);
42
+ }
43
+
44
+ static const rb_data_type_t toplevel_window_marker_type = {
45
+ "Gtk::ToplevelsMarker",
46
+ {
47
+ toplevel_window_marker_mark,
48
+ toplevel_window_marker_free,
49
+ NULL,
50
+ {
51
+ NULL,
52
+ NULL,
53
+ },
54
+ },
55
+ NULL,
56
+ NULL,
57
+ RUBY_TYPED_FREE_IMMEDIATELY,
58
+ };
59
+
60
+
61
+ void
62
+ rbgtk3_window_init(void)
63
+ {
64
+ VALUE mGtk;
65
+ VALUE toplevel_window_marker_class;
66
+ VALUE toplevel_window_marker;
67
+ ToplevelWindowMarkerData *data;
68
+
69
+ mGtk = rb_const_get(rb_cObject, rb_intern("Gtk"));
70
+ toplevel_window_marker_class =
71
+ rb_define_class_under(mGtk, "ToplevelWindowMarker", rb_cData);
72
+ toplevel_window_marker =
73
+ TypedData_Make_Struct(toplevel_window_marker_class,
74
+ ToplevelWindowMarkerData,
75
+ &toplevel_window_marker_type,
76
+ data);
77
+ rb_gc_register_mark_object(toplevel_window_marker);
78
+ }
data/ext/gtk3/rb-gtk3.c CHANGED
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2015 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2015-2017 Ruby-GNOME2 Project Team
4
4
  *
5
5
  * This library is free software; you can redistribute it and/or
6
6
  * modify it under the terms of the GNU Lesser General Public
@@ -639,6 +639,7 @@ Init_gtk3(void)
639
639
  rbgtk3_tree_model_init();
640
640
  rbgtk3_tree_view_init();
641
641
  rbgtk3_widget_init();
642
+ rbgtk3_window_init();
642
643
 
643
644
  rbgobj_boxed_not_copy_obj(GTK_TYPE_SELECTION_DATA);
644
645
  setlocale(LC_NUMERIC, "C");
data/lib/2.2/gtk3.so CHANGED
Binary file
data/lib/2.3/gtk3.so CHANGED
Binary file
data/lib/2.4/gtk3.so CHANGED
Binary file
@@ -20,7 +20,7 @@ class TestGtkStyleProperties < Test::Unit::TestCase
20
20
  end
21
21
 
22
22
  class TestGet < self
23
- def test_eixstent
23
+ def test_existent
24
24
  key = "border-radius"
25
25
  state = :normal
26
26
  value = 29
@@ -31,7 +31,7 @@ class TestGtkStyleProperties < Test::Unit::TestCase
31
31
  assert_equal(value, @properties.get_property(key, state))
32
32
  end
33
33
 
34
- def test_noneixstent
34
+ def test_nonexistent
35
35
  assert_nil(@properties.get_property("nonexistent", :normal))
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2017-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,112 +16,112 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.0
19
+ version: 3.2.1
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.2.0
26
+ version: 3.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gio2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.0
33
+ version: 3.2.1
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.2.0
40
+ version: 3.2.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: atk
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.2.0
47
+ version: 3.2.1
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.2.0
54
+ version: 3.2.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pango
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.2.0
61
+ version: 3.2.1
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.2.0
68
+ version: 3.2.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: gdk_pixbuf2
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 3.2.0
75
+ version: 3.2.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 3.2.0
82
+ version: 3.2.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: gdk3
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 3.2.0
89
+ version: 3.2.1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 3.2.0
96
+ version: 3.2.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: gobject-introspection
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 3.2.0
103
+ version: 3.2.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 3.2.0
110
+ version: 3.2.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rsvg2
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 3.2.0
117
+ version: 3.2.1
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 3.2.0
124
+ version: 3.2.1
125
125
  description: Ruby/GTK3 is a Ruby binding of GTK+-3.x.
126
126
  email: ruby-gnome2-devel-en@lists.sourceforge.net
127
127
  executables: []
@@ -138,6 +138,7 @@ files:
138
138
  - ext/gtk3/rb-gtk3-tree-model.c
139
139
  - ext/gtk3/rb-gtk3-tree-view.c
140
140
  - ext/gtk3/rb-gtk3-widget.c
141
+ - ext/gtk3/rb-gtk3-window.c
141
142
  - ext/gtk3/rb-gtk3.c
142
143
  - ext/gtk3/rb-gtk3.h
143
144
  - extconf.rb