webkit-gtk 2.2.5 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/webkit-gtk.rb +8 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f4aac712b1c1dee4067bdd579d3685a15409436
4
- data.tar.gz: 4a71a4c613ebd8e445e415fb0b2493ac3fe85835
3
+ metadata.gz: d859d0e7cca6f5249ef7e8a37af21c862c2f01bf
4
+ data.tar.gz: d836ba58ddaa7471b19db341060ed2165ec5e71b
5
5
  SHA512:
6
- metadata.gz: e8cea12379bab2d716ddfd751f3597197a6985e41aa2e294a3245640252fada1d4993c5a3ecb796bc4245f535efccc21795f3df4d79f1569f1e8ffd17e0c7fd1
7
- data.tar.gz: abea925c69c8fa0be852f4e5c9e6b034e8859e34a0a1c2198d7169379a5da38f6a64646758fb0d2229c7d91a97c082eb3851e7af0e09aacf79d25bc8c1c1e7e4
6
+ metadata.gz: 2e4e0d0538266ac9d03f7e078e669b5212aae4944ea72ca5c65c169f1401b62304bb12f8a0957422aec7a1ed1774fefb3f1fd2eb1e96119c6163c89a29ab63c6
7
+ data.tar.gz: 62388b674cc015ec25cb6334f016d80fd4b2312441860af3bf6359a9fb3308f89367dac004c709327f7c38fda817d429baafd6f21e0ca47dcc66bb7eb2eeb6ae
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2013-2015 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -38,11 +38,18 @@ module WebKitGtk
38
38
  remove_method(:init)
39
39
  remove_method(:const_missing)
40
40
  end
41
+ Gtk.init if Gtk.respond_to?(:init)
41
42
  loader = Loader.new(self)
42
43
  loader.load("WebKit")
43
44
  end
44
45
  end
45
46
 
46
47
  class Loader < GObjectIntrospection::Loader
48
+ private
49
+ def initialize_post(object)
50
+ super
51
+ return unless object.is_a?(GLib::Object)
52
+ self.class.reference_gobject(object, :sink => true)
53
+ end
47
54
  end
48
55
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webkit-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gobject-introspection
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.5
19
+ version: 3.0.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: 2.2.5
26
+ version: 3.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gtk3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.5
33
+ version: 3.0.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: 2.2.5
40
+ version: 3.0.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit-notify
43
43
  requirement: !ruby/object:Gem::Requirement