gtk3assist 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gtk3assist.gemspec +1 -1
- data/lib/gtk3assist.rb +7 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/gtk3assist.gemspec
CHANGED
data/lib/gtk3assist.rb
CHANGED
@@ -9,4 +9,11 @@ class Gtk3assist
|
|
9
9
|
raise "Still not defined: '#{name}'." if !Gtk3assist.const_defined?(name)
|
10
10
|
return Gtk3assist.const_get(name)
|
11
11
|
end
|
12
|
+
|
13
|
+
#Enables other threads to be run and interrupts to be used (<CTRL> + <C>).
|
14
|
+
def self.enable_threadding
|
15
|
+
return nil if @enable_threadding
|
16
|
+
@enable_threadding = true
|
17
|
+
GLib.idle_add(GLib::PRIORITY_DEFAULT_IDLE, Proc.new{Thread.pass; true}, nil, nil)
|
18
|
+
end
|
12
19
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gtk3assist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kasper Johansen
|
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
hash: -
|
124
|
+
hash: -1109653689086949800
|
125
125
|
segments:
|
126
126
|
- 0
|
127
127
|
version: "0"
|