xlib-objects 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/extension/core/event.rb +1 -1
- data/lib/window.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f116435cd0ad86aefb7b0aad6177876f170b48b8
|
4
|
+
data.tar.gz: 036010f306434fa996ed7572821d6510c66eb24f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e387f88d27913ab4b5fdc5128ce793aee26e8ea818aba6a7f261f224c130b2af1b05b9074dee4ded82c289aefec78ef139d99f6d918bb4525ed88aba691af1f8
|
7
|
+
data.tar.gz: fddee9385777c5c2214554183ef27b2aa3bc00a6b9438e818288df482a11e89d3a84a577d6f9924c856af0efa60387bb584bfa63079bb4be2f97a85daea3cca1
|
data/lib/extension/core/event.rb
CHANGED
data/lib/window.rb
CHANGED
@@ -214,10 +214,14 @@ module XlibObj
|
|
214
214
|
end
|
215
215
|
|
216
216
|
def destroy
|
217
|
-
|
217
|
+
finalize
|
218
218
|
Xlib.XDestroyWindow(@display.to_native, to_native)
|
219
219
|
end
|
220
220
|
|
221
|
+
def finalize
|
222
|
+
@event_handler.destroy
|
223
|
+
end
|
224
|
+
|
221
225
|
def inspect
|
222
226
|
"#<#{self.class.name}:0x#{'%014x' % __id__} @id=#{id}>"
|
223
227
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xlib-objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Aue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xlib
|