gobject-introspection 3.1.3 → 3.1.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4935fdce680b364089d2f0f81724da98f7cf4a30
|
4
|
+
data.tar.gz: 8afbce367cbe0cccccb99961df8f97066dfb1770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec2f7fea384fd2ec5732b625eca757cae12e15765abae5f884205b340bd7084f690af0379a58d90d9e5fc1c60a924187b75a1b742a0cb0c8f7bf43e66ef12f3f
|
7
|
+
data.tar.gz: d33b848ee3943c5907a1e7efbdba81d350e6e482239ec0dfe38cd66d3b52ab0090628c106840ed9fe2e18dd9eda5efa67ad1da789bb8454dbe7d21d4e098767f
|
@@ -62,7 +62,8 @@ unless required_pkg_config_package(package_id,
|
|
62
62
|
:redhat => "gobject-introspection-devel",
|
63
63
|
:homebrew => "gobject-introspection",
|
64
64
|
:arch_linux => "gobject-introspection",
|
65
|
-
:macports => "gobject-introspection"
|
65
|
+
:macports => "gobject-introspection",
|
66
|
+
:msys2 => "gobject-introspection")
|
66
67
|
exit(false)
|
67
68
|
end
|
68
69
|
|
@@ -2150,7 +2150,11 @@ rb_gi_return_argument_free_everything_interface(GIArgument *argument,
|
|
2150
2150
|
break;
|
2151
2151
|
case GI_INFO_TYPE_OBJECT:
|
2152
2152
|
if (argument->v_pointer) {
|
2153
|
-
|
2153
|
+
GObject *object = argument->v_pointer;
|
2154
|
+
if (g_object_is_floating(object)) {
|
2155
|
+
g_object_ref_sink(object);
|
2156
|
+
}
|
2157
|
+
g_object_unref(object);
|
2154
2158
|
}
|
2155
2159
|
break;
|
2156
2160
|
case GI_INFO_TYPE_INTERFACE:
|
data/test/test-constant-info.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2012 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (C) 2012-2017 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
|
@@ -18,7 +18,14 @@ class TestConstantInfo < Test::Unit::TestCase
|
|
18
18
|
def setup
|
19
19
|
@repository = GObjectIntrospection::Repository.default
|
20
20
|
@repository.require("GObject")
|
21
|
-
|
22
|
-
|
21
|
+
@info = @repository.find("GObject", "SIGNAL_FLAGS_MASK")
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_type
|
25
|
+
assert_equal(GObjectIntrospection::TypeTag::INT32, @info.type.tag)
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_value
|
29
|
+
assert_equal(511, @info.value)
|
23
30
|
end
|
24
31
|
end
|
data/test/test-union-info.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gobject-introspection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.4
|
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: 2017-
|
11
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glib2
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.1.
|
19
|
+
version: 3.1.4
|
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.1.
|
26
|
+
version: 3.1.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: test-unit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|