gtk3 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/gtk3/rbgtk.c +0 -34
  2. metadata +14 -14
data/ext/gtk3/rbgtk.c CHANGED
@@ -160,26 +160,6 @@ rg_s_init(int argc, VALUE *argv, VALUE self)
160
160
 
161
161
  {
162
162
  gboolean is_initialized;
163
- /* Gdk modifies sighandlers, sigh */
164
- #ifdef NT
165
- RETSIGTYPE (*sigfunc[3])();
166
- #else
167
- RETSIGTYPE (*sigfunc[7])();
168
- #endif
169
-
170
- #ifdef NT
171
- sigfunc[0] = signal(SIGINT, SIG_IGN);
172
- sigfunc[1] = signal(SIGSEGV, SIG_IGN);
173
- sigfunc[2] = signal(SIGTERM, SIG_IGN);
174
- #else
175
- sigfunc[0] = signal(SIGHUP, SIG_IGN);
176
- sigfunc[1] = signal(SIGINT, SIG_IGN);
177
- sigfunc[2] = signal(SIGQUIT, SIG_IGN);
178
- sigfunc[3] = signal(SIGBUS, SIG_IGN);
179
- sigfunc[4] = signal(SIGSEGV, SIG_IGN);
180
- sigfunc[5] = signal(SIGPIPE, SIG_IGN);
181
- sigfunc[6] = signal(SIGTERM, SIG_IGN);
182
- #endif
183
163
 
184
164
  is_initialized = gtk_init_check(&gargc, &gargv);
185
165
  if (! is_initialized) {
@@ -190,20 +170,6 @@ rg_s_init(int argc, VALUE *argv, VALUE self)
190
170
  }
191
171
 
192
172
  setlocale(LC_NUMERIC, "C");
193
-
194
- #ifdef NT
195
- signal(SIGINT, (SignalFunc)sigfunc[0]);
196
- signal(SIGSEGV, (SignalFunc)sigfunc[1]);
197
- signal(SIGTERM, (SignalFunc)sigfunc[2]);
198
- #else
199
- signal(SIGHUP, sigfunc[0]);
200
- signal(SIGINT, sigfunc[1]);
201
- signal(SIGQUIT, sigfunc[2]);
202
- signal(SIGBUS, sigfunc[3]);
203
- signal(SIGSEGV, sigfunc[4]);
204
- signal(SIGPIPE, sigfunc[5]);
205
- signal(SIGTERM, sigfunc[6]);
206
- #endif
207
173
  }
208
174
 
209
175
  return self;
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.2
4
+ version: 1.2.3
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-03-11 00:00:00.000000000 Z
12
+ date: 2013-03-17 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.2
21
+ version: 1.2.3
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.2
29
+ version: 1.2.3
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.2
37
+ version: 1.2.3
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.2
45
+ version: 1.2.3
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.2
53
+ version: 1.2.3
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.2
61
+ version: 1.2.3
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.2
69
+ version: 1.2.3
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.2
77
+ version: 1.2.3
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.2
85
+ version: 1.2.3
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.2
93
+ version: 1.2.3
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.2
101
+ version: 1.2.3
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.2
109
+ version: 1.2.3
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: []