glib2 3.2.2 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbgobj_object.c +3 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 784ddb8adf1fc70dfa670b2c7983a964fe78f2471044cf3be1a36f890a83b9fe
|
4
|
+
data.tar.gz: 436aaa985d647fa6f84e718ce268886ba16844af1de4f67fa09b641dc52f5442
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3974445bfccd7619116f725f262137efd3930b4f5970c298ed21da1aac093184ea798416d08df3e02f5c16d9cbde4925b0919e5b8f132990062b83e64dd29325
|
7
|
+
data.tar.gz: 175ae91fa3c511445cbc9fc638b644de0de221ce992c9d94979b98fdcbf4d72c84b60c813d9d032ca0e9598d1282b7c272de57bc42f72cd00951f936d2d4a08c
|
data/ext/glib2/rbglib.h
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2002-
|
3
|
+
* Copyright (C) 2002-2018 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2002,2003 Masahiro Sakai
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -36,7 +36,7 @@ extern "C" {
|
|
36
36
|
|
37
37
|
#define RBGLIB_MAJOR_VERSION 3
|
38
38
|
#define RBGLIB_MINOR_VERSION 2
|
39
|
-
#define RBGLIB_MICRO_VERSION
|
39
|
+
#define RBGLIB_MICRO_VERSION 3
|
40
40
|
|
41
41
|
#ifndef RB_ZALLOC
|
42
42
|
# ifdef ZALLOC
|
data/ext/glib2/rbgobj_object.c
CHANGED
@@ -51,16 +51,16 @@ weak_notify(gpointer data, G_GNUC_UNUSED GObject *where_the_object_was)
|
|
51
51
|
}
|
52
52
|
|
53
53
|
static void
|
54
|
-
holder_mark(
|
54
|
+
holder_mark(void *data)
|
55
55
|
{
|
56
|
+
gobj_holder *holder = data;
|
56
57
|
if (holder->gobj && !holder->destroyed)
|
57
58
|
rbgobj_instance_call_cinfo_mark(holder->gobj);
|
58
59
|
}
|
59
60
|
|
60
61
|
static void
|
61
|
-
holder_unref(
|
62
|
+
holder_unref(gobj_holder *holder)
|
62
63
|
{
|
63
|
-
gobj_holder *holder = data;
|
64
64
|
if (holder->gobj) {
|
65
65
|
if (!holder->destroyed) {
|
66
66
|
g_object_set_qdata(holder->gobj, RUBY_GOBJECT_OBJ_KEY, NULL);
|
@@ -85,8 +85,6 @@ static const rb_data_type_t rg_glib_object_type = {
|
|
85
85
|
holder_mark,
|
86
86
|
holder_free,
|
87
87
|
NULL,
|
88
|
-
NULL,
|
89
|
-
NULL,
|
90
88
|
},
|
91
89
|
NULL,
|
92
90
|
NULL,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glib2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
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: 2018-04-
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pkg-config
|