gobject-introspection 4.1.8 → 4.2.0

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
  SHA256:
3
- metadata.gz: 5c71deb15cacf7ce19332b7ea8a4b4a1a6d38efb6135f968a416159b0b07429b
4
- data.tar.gz: '0291ce641fa943d7b10449c157bd0b40dcb3e83320810558a2ba457646107282'
3
+ metadata.gz: 4df79c80129bf2991fdde017eac4dd3ec819b3e1698a9c28803a9370277282e1
4
+ data.tar.gz: 297227bb6f7d37441f5b49212641313525e6c047a21b2c7cb1b0266752e72838
5
5
  SHA512:
6
- metadata.gz: a7427592e0702ce1f5e906bc24dac4ce6ddb58c3cd6be8f15654a0e0f2a7ecd067da57892288cc4359ea8b2e5385dda7bcd40c7d3d87dbbb41ad8f2e3ab39196
7
- data.tar.gz: 8b9738a3587b848959ac5918356a692f8ded8031bdf00d77350eff99829dad953c82ddd894aaa4c9e60614854b97863062e53c673ad5e6f639afb1015cf9e9f5
6
+ metadata.gz: ddbca7058d52568dd10cb099ae019dce86d66bc8ef298e02dff85a19fe922f773574e5b626dba30d8fe37169d47f8047f31258de6450e1403abf0334c8644761
7
+ data.tar.gz: 381757025f4d4923e8f8e12da0993083b7f29f38187b972f99d3e03f2df24df1f5f2cf6ccfe5ca9d802d3acbd68a7e3df6213f2262772edb113787c821627e3d
@@ -147,8 +147,9 @@ rb_gi_arg_metadata_init_struct_info(RBGIArgMetadata *metadata,
147
147
  static RBGIArgMetadata *
148
148
  rb_gi_arg_metadata_new(GICallableInfo *callable_info, gint i)
149
149
  {
150
-
151
- RBGIArgMetadata *metadata = ALLOC(RBGIArgMetadata);
150
+ /* We can't use ALLOC() (Ruby API) here because this may be called
151
+ in a thread that isn't the Ruby's main thread. */
152
+ RBGIArgMetadata *metadata = g_new(RBGIArgMetadata, 1);
152
153
  metadata->callable_info = callable_info;
153
154
  GIArgInfo *arg_info = &(metadata->arg_info);
154
155
  g_callable_info_load_arg(callable_info, i, arg_info);
@@ -185,7 +186,7 @@ void
185
186
  rb_gi_arg_metadata_free(RBGIArgMetadata *metadata)
186
187
  {
187
188
  rb_gi_arg_metadata_clear(metadata);
188
- xfree(metadata);
189
+ g_free(metadata);
189
190
  }
190
191
 
191
192
  static void
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: 4.1.8
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-25 00:00:00.000000000 Z
11
+ date: 2023-08-19 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: 4.1.8
19
+ version: 4.2.0
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: 4.1.8
26
+ version: 4.2.0
27
27
  description: Ruby/GObjectIntrospection provides bindings of GObject Introspection
28
28
  and a loader module that can generate dynamically Ruby bindings of any GObject C
29
29
  libraries