pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc ruby-gnome2: update to 3.2.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f9a88aaa991
branches:  trunk
changeset: 379668:5f9a88aaa991
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Thu May 03 12:04:02 2018 +0000

description:
ruby-gnome2: update to 3.2.5.

Upstream changes (from NEWS):

== Ruby-GNOME2 3.2.5: 2018-05-02

This is a bug fix release of 3.2.4.

=== Changes

==== Document

  * Fixes

    * Fixed typos.
      [GitHub#1158][Patch by kojix2]
      [GitHub#1160][Patch by kojix2]

==== Ruby/GLib2

  * Fixes

    * Fixed a GC related crash bug.
      [GitHub#1162][Reported by Izumi Tsutsui]

==== Ruby/GObjectIntrospection

  * Improvements

    * Disabled NULL check for GObject Introspection < 1.42. Because
      GObject Introspection < 1.42 doesn't support "(nullable)"
      annotation yet.

==== Ruby/GdkPixbuf2

  * Improvements

    * (({GdkPixbuf::Pixbuf#composite})): Suppressed wrong warning.
      [GitHub#1156][Reported by Chaistrin]
      [GitHub#1157][Patch by cedlemo]

  * Fixes

    * Added a missing white space into message.
      [GitHub#1155][Reported by Robert A. Heiler]

    * (({GdkPixbuf::Pixbuf#composite})): Fixed a bug that width and
      height are ignored.
      [Patch by cedlemo]

==== Ruby/GTK3

  * Improvements

    * (({Gtk::TextBuffer#initialize})): Accepted "property-name" form.
      [GitHub#1161][Reported by kojix2]

==== Ruby/Poppler

  * Improvements

    * Added a workaround for poppler-glib 0.63 bug.
      [GitHub#1159][Reported by HIGUCHI Daisuke]

=== Thanks

  * Robert A. Heiler

  * Chaistrin

  * cedlemo

  * kojix2

  * Izumi Tsutsui

  * HIGUCHI Daisuke

diffstat:

 devel/ruby-gnome2-atk/distinfo                                   |   10 +-
 devel/ruby-gnome2-gio/distinfo                                   |   10 +-
 devel/ruby-gnome2-glib/Makefile                                  |    3 +-
 devel/ruby-gnome2-glib/buildlink3.mk                             |    4 +-
 devel/ruby-gnome2-glib/distinfo                                  |   18 +-
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_glib2.def         |   16 -
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbglib.h          |   17 -
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__binding.c |   23 -
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__closure.c |   48 --
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__object.c  |  176 ----------
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobject.c       |  114 ------
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobject.h       |   28 -
 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgprivate.h      |   22 -
 devel/ruby-gnome2-gobject-introspection/buildlink3.mk            |    4 +-
 devel/ruby-gnome2-gobject-introspection/distinfo                 |   10 +-
 devel/ruby-gnome2-pango/Makefile                                 |    3 +-
 devel/ruby-gnome2-pango/buildlink3.mk                            |    4 +-
 devel/ruby-gnome2-pango/distinfo                                 |   10 +-
 graphics/ruby-gnome2-cairo-gobject/distinfo                      |   10 +-
 graphics/ruby-gnome2-clutter-gdk/Makefile                        |    3 +-
 graphics/ruby-gnome2-clutter-gdk/distinfo                        |   10 +-
 graphics/ruby-gnome2-clutter-gtk/Makefile                        |    3 +-
 graphics/ruby-gnome2-clutter-gtk/distinfo                        |   10 +-
 graphics/ruby-gnome2-clutter/Makefile                            |    3 +-
 graphics/ruby-gnome2-clutter/distinfo                            |   10 +-
 graphics/ruby-gnome2-gdk3/Makefile                               |    3 +-
 graphics/ruby-gnome2-gdk3/buildlink3.mk                          |    4 +-
 graphics/ruby-gnome2-gdk3/distinfo                               |   10 +-
 graphics/ruby-gnome2-gdkpixbuf/distinfo                          |   10 +-
 graphics/ruby-gnome2-rsvg/Makefile                               |    3 +-
 graphics/ruby-gnome2-rsvg/distinfo                               |   10 +-
 meta-pkgs/ruby-gnome2/Makefile.common                            |    4 +-
 multimedia/ruby-gnome2-clutter-gstreamer/distinfo                |   10 +-
 multimedia/ruby-gnome2-gstreamer/distinfo                        |   10 +-
 print/ruby-gnome2-poppler/Makefile                               |    3 +-
 print/ruby-gnome2-poppler/distinfo                               |   10 +-
 www/ruby-gnome2-webkit-gtk/distinfo                              |   10 +-
 www/ruby-gnome2-webkit-gtk2/distinfo                             |   10 +-
 x11/ruby-gnome2-gtk/Makefile                                     |    3 +-
 x11/ruby-gnome2-gtk/buildlink3.mk                                |    4 +-
 x11/ruby-gnome2-gtk/distinfo                                     |   13 +-
 x11/ruby-gnome2-gtk/patches/patch-ext_gtk2_rbgtkliststore.c      |   27 -
 x11/ruby-gnome2-gtk/patches/patch-ext_gtk2_rbgtktreestore.c      |   27 -
 x11/ruby-gnome2-gtk/patches/patch-ext_gtk2_rbgtktreeviewcolumn.c |   27 -
 x11/ruby-gnome2-gtk3/Makefile                                    |    3 +-
 x11/ruby-gnome2-gtk3/buildlink3.mk                               |    4 +-
 x11/ruby-gnome2-gtk3/distinfo                                    |   10 +-
 x11/ruby-gnome2-gtksourceview2/Makefile                          |    3 +-
 x11/ruby-gnome2-gtksourceview2/distinfo                          |   10 +-
 x11/ruby-gnome2-gtksourceview3/Makefile                          |    3 +-
 x11/ruby-gnome2-gtksourceview3/distinfo                          |   10 +-
 x11/ruby-gnome2-vte/Makefile                                     |    3 +-
 x11/ruby-gnome2-vte/distinfo                                     |   10 +-
 53 files changed, 137 insertions(+), 686 deletions(-)

diffs (truncated from 1217 to 300 lines):

diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-atk/distinfo
--- a/devel/ruby-gnome2-atk/distinfo    Thu May 03 10:29:28 2018 +0000
+++ b/devel/ruby-gnome2-atk/distinfo    Thu May 03 12:04:02 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2018/04/13 16:31:09 tsutsui Exp $
+$NetBSD: distinfo,v 1.12 2018/05/03 12:04:02 tsutsui Exp $
 
-SHA1 (atk-3.2.4.gem) = 2f57fbd24b50966aef3e30e2240e1081d688e541
-RMD160 (atk-3.2.4.gem) = 0a70c39de1c90d0a619e893dfa70503efedbeae0
-SHA512 (atk-3.2.4.gem) = 7f1a6e29b24e7c464b52f2c799aaa7512c23593c65acccad7fb2b3c90b22baf17d0055cc1223ab3a2ff7211abdfd82c1853df5389fde659e62573d277b28d0c4
-Size (atk-3.2.4.gem) = 6656 bytes
+SHA1 (atk-3.2.5.gem) = 541f914abad1e016c69d0a66aec613d8def6d960
+RMD160 (atk-3.2.5.gem) = f8054789236c468068933592e8e1dc434f3d4491
+SHA512 (atk-3.2.5.gem) = c1f555793bd3920af773aa427ed484a78192373a07161a4baca5ecba40d9f188a8f334410421c0c753bd10f694170e02b62ce63cc725b6bf006b69863978112f
+Size (atk-3.2.5.gem) = 6656 bytes
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-gio/distinfo
--- a/devel/ruby-gnome2-gio/distinfo    Thu May 03 10:29:28 2018 +0000
+++ b/devel/ruby-gnome2-gio/distinfo    Thu May 03 12:04:02 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2018/04/13 16:31:09 tsutsui Exp $
+$NetBSD: distinfo,v 1.12 2018/05/03 12:04:02 tsutsui Exp $
 
-SHA1 (gio2-3.2.4.gem) = e89206785eff4f885f7d8d67f44571dc2ea1e5ab
-RMD160 (gio2-3.2.4.gem) = 1782c5fabb9fc96fe79dcb13aeff722c4285b251
-SHA512 (gio2-3.2.4.gem) = 55a4dd2dc46d012a3f92f52516acc5995b331f71f9f4d24eaa7df888c28fc5a602648f181aad48338e9bfbe27f1f6ab987b11a4fb3bc713721ae52944116f65a
-Size (gio2-3.2.4.gem) = 26112 bytes
+SHA1 (gio2-3.2.5.gem) = 8bbffffe54e5622c89ef0d8cdbd838618f962bd3
+RMD160 (gio2-3.2.5.gem) = 35f3ab9d1ca868c4a6ba219ed265e354ec5caf6e
+SHA512 (gio2-3.2.5.gem) = a2b7f838675d3071068a576e06cfd2cc3d94187e3486b8f74ea348b54c51bdbe52b2fe9a78ba01f21ad9723772035abae53afb3694e48de89dee09b669bff650
+Size (gio2-3.2.5.gem) = 26112 bytes
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/Makefile
--- a/devel/ruby-gnome2-glib/Makefile   Thu May 03 10:29:28 2018 +0000
+++ b/devel/ruby-gnome2-glib/Makefile   Thu May 03 12:04:02 2018 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2018/04/29 15:36:44 tsutsui Exp $
+# $NetBSD: Makefile,v 1.32 2018/05/03 12:04:02 tsutsui Exp $
 #
 
 DISTNAME=              glib2-${VERSION}
 PKGNAME=               ${RUBY_PKGPREFIX}-gnome2-glib-${VERSION}
-PKGREVISION=           1
 COMMENT=               Ruby binding of GLib-2.x
 CATEGORIES=            devel
 
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/buildlink3.mk
--- a/devel/ruby-gnome2-glib/buildlink3.mk      Thu May 03 10:29:28 2018 +0000
+++ b/devel/ruby-gnome2-glib/buildlink3.mk      Thu May 03 12:04:02 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2018/04/29 15:36:44 tsutsui Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2018/05/03 12:04:02 tsutsui Exp $
 
 BUILDLINK_TREE+=       ruby-gnome2-glib
 
@@ -6,7 +6,7 @@
 RUBY_GNOME2_GLIB_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ruby-gnome2-glib+=       ${RUBY_PKGPREFIX}-gnome2-glib>=0.17.0
-BUILDLINK_ABI_DEPENDS.ruby-gnome2-glib+=       ${RUBY_PKGPREFIX}-gnome2-glib>=2.2.4nb1
+BUILDLINK_ABI_DEPENDS.ruby-gnome2-glib+=       ${RUBY_PKGPREFIX}-gnome2-glib>=2.2.5
 BUILDLINK_PKGSRCDIR.ruby-gnome2-glib?=         ../../devel/ruby-gnome2-glib
 
 .include "../../devel/glib2/buildlink3.mk"
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/distinfo
--- a/devel/ruby-gnome2-glib/distinfo   Thu May 03 10:29:28 2018 +0000
+++ b/devel/ruby-gnome2-glib/distinfo   Thu May 03 12:04:02 2018 +0000
@@ -1,14 +1,6 @@
-$NetBSD: distinfo,v 1.15 2018/04/29 15:36:44 tsutsui Exp $
+$NetBSD: distinfo,v 1.16 2018/05/03 12:04:02 tsutsui Exp $
 
-SHA1 (glib2-3.2.4.gem) = a1aa0ea0d88fe241825daee9f2a7e9a444cb60fe
-RMD160 (glib2-3.2.4.gem) = f6b6da60e27bf9ebaee6757d0fa7df01b9dcb73e
-SHA512 (glib2-3.2.4.gem) = d766787ad15ead3f0b8ff0a334fd0a8df5b6ea719fee36aa5c3aa38273d1e4ccfb1ceab4564b0c01e597a413a8e49009adf70a6ac27b930465a9aa7d8b033418
-Size (glib2-3.2.4.gem) = 142336 bytes
-SHA1 (patch-ext_glib2_glib2.def) = 9f6e593c494930e28c683689d7438d14333377b8
-SHA1 (patch-ext_glib2_rbglib.h) = 97a9088fb749f0985d415ee068eceb1e78237661
-SHA1 (patch-ext_glib2_rbgobj__binding.c) = 1c6459564d08d86570ad631dbd95b20f9ff22ba5
-SHA1 (patch-ext_glib2_rbgobj__closure.c) = 6655f9a2e49f8bfd1eb0ec2208ab566d5d13b02e
-SHA1 (patch-ext_glib2_rbgobj__object.c) = c0099a33d3805d2137b1f76f8050bb1c075bfefa
-SHA1 (patch-ext_glib2_rbgobject.c) = 5e81544395ee1dc543ab5cf926ea19d1ade89431
-SHA1 (patch-ext_glib2_rbgobject.h) = 8023d86bc2d119f83d37c27e7686f6a55816616c
-SHA1 (patch-ext_glib2_rbgprivate.h) = 9cad0b23a174b500a940d5d1fa4d66a6aeac3566
+SHA1 (glib2-3.2.5.gem) = c48e4b6e17635a6b403e1b98565d6994d7bf69ac
+RMD160 (glib2-3.2.5.gem) = 0cbe598a9df602fbb18ef73a1b3355cca48eab3c
+SHA512 (glib2-3.2.5.gem) = 7c18dd94bd235381593f04fd429fb523d7c69a209ec7fb17216365c50615d01a0713d86aa92e32980a892f77a300be45db6ccaa52f81aade76e4808cdc47d4d9
+Size (glib2-3.2.5.gem) = 142848 bytes
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/patches/patch-ext_glib2_glib2.def
--- a/devel/ruby-gnome2-glib/patches/patch-ext_glib2_glib2.def  Thu May 03 10:29:28 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ext_glib2_glib2.def,v 1.1 2018/04/29 15:36:44 tsutsui Exp $
-
-- pull upstream fix for issue #1162
-
---- ext/glib2/glib2.def.orig   2018-04-29 15:03:29.000000000 +0000
-+++ ext/glib2/glib2.def
-@@ -61,6 +61,9 @@ EXPORTS
-       rbgobj_class_init_func
-       rbgobj_register_type
-       rbgobj_object_alloc_func
-+      rbgobj_object_add_relative
-+      rbgobj_object_remove_relative
-+      rbgobj_object_remove_relatives
-       rbgobj_set_signal_func
-       rbgobj_get_signal_func
-       rbgobj_set_signal_call_func
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbglib.h
--- a/devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbglib.h   Thu May 03 10:29:28 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-ext_glib2_rbglib.h,v 1.1 2018/04/29 15:36:44 tsutsui Exp $
-
-- pull upstream fix for issue #1162
-
---- ext/glib2/rbglib.h.orig    2018-04-29 15:03:29.000000000 +0000
-+++ ext/glib2/rbglib.h
-@@ -46,6 +46,10 @@ extern "C" {
- #  endif
- #endif
- 
-+#ifndef RB_ALLOC
-+#  define RB_ALLOC(type) ALLOC(type)
-+#endif
-+
- #ifndef RB_ALLOC_N
- #  define RB_ALLOC_N(type, n) ALLOC_N(type, n)
- #endif
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__binding.c
--- a/devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__binding.c  Thu May 03 10:29:28 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-ext_glib2_rbgobj__binding.c,v 1.1 2018/04/29 15:36:44 tsutsui Exp $
-
-- pull upstream fix for issue #1162
-
---- ext/glib2/rbgobj_binding.c.orig    2018-04-29 15:03:30.000000000 +0000
-+++ ext/glib2/rbgobj_binding.c
-@@ -28,7 +28,15 @@
- static VALUE
- rg_unbind(VALUE self)
- {
--    g_binding_unbind(_SELF(self));
-+    GBinding *binding = _SELF(self);
-+    GObject *source;
-+    VALUE rb_source;
-+
-+    source = g_binding_get_source(binding);
-+    rb_source = GOBJ2RVAL(source);
-+    rbgobj_object_remove_relative(rb_source, self);
-+    g_binding_unbind(binding);
-+
-     return self;
- }
- #endif
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__closure.c
--- a/devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__closure.c  Thu May 03 10:29:28 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-$NetBSD: patch-ext_glib2_rbgobj__closure.c,v 1.1 2018/04/29 15:36:44 tsutsui Exp $
-
-- pull upstream fix for issue #1162
-
---- ext/glib2/rbgobj_closure.c.orig    2018-04-29 15:03:30.000000000 +0000
-+++ ext/glib2/rbgobj_closure.c
-@@ -1,6 +1,6 @@
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
- /*
-- *  Copyright (C) 2011-2016  Ruby-GNOME2 Project Team
-+ *  Copyright (C) 2011-2018  Ruby-GNOME2 Project Team
-  *  Copyright (C) 2002-2006  Ruby-GNOME2 Project
-  *  Copyright (C) 2002,2003  Masahiro Sakai
-  *
-@@ -191,8 +191,9 @@ rclosure_invalidate(G_GNUC_UNUSED gpoint
-         for (next = rclosure->objects; next; next = next->next) {
-             GObject *object = G_OBJECT(next->data);
-             VALUE obj = rbgobj_ruby_object_from_instance2(object, FALSE);
--            if (!NIL_P(rclosure->rb_holder) && !NIL_P(obj))
--                G_REMOVE_RELATIVE(obj, id_closures, rclosure->rb_holder);
-+            if (!NIL_P(rclosure->rb_holder) && !NIL_P(obj)) {
-+                rbgobj_object_remove_relative(obj, rclosure->rb_holder);
-+            }
-         }
- 
-         rclosure_unref(rclosure);
-@@ -286,16 +287,15 @@ rclosure_weak_notify(gpointer data, GObj
- void
- g_rclosure_attach(GClosure *closure, VALUE object)
- {
--    static VALUE mGLibObject = (VALUE)NULL;
-+    static VALUE cGLibObject = Qnil;
-     GRClosure *rclosure = (GRClosure *)closure;
- 
--    G_RELATIVE2(object, Qnil, id_closures, rclosure->rb_holder);
--
--    if (!mGLibObject) {
--        mGLibObject = rb_const_get(mGLib, rb_intern("Object"));
-+    if (NIL_P(cGLibObject)) {
-+        cGLibObject = rb_const_get(mGLib, rb_intern("Object"));
-     }
--    if (rb_obj_is_kind_of(object, mGLibObject)) {
-+    if (rb_obj_is_kind_of(object, cGLibObject)) {
-         GObject *gobject;
-+        rbgobj_object_add_relative(object, rclosure->rb_holder);
-         gobject = RVAL2GOBJ(object);
-         rclosure->count++;
-         g_object_weak_ref(gobject, rclosure_weak_notify, rclosure);
diff -r 800ed27a5161 -r 5f9a88aaa991 devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__object.c
--- a/devel/ruby-gnome2-glib/patches/patch-ext_glib2_rbgobj__object.c   Thu May 03 10:29:28 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,176 +0,0 @@
-$NetBSD: patch-ext_glib2_rbgobj__object.c,v 1.1 2018/04/29 15:36:44 tsutsui Exp $
-
-- pull upstream fix for issue #1162
-
---- ext/glib2/rbgobj_object.c.orig     2018-04-29 15:03:30.000000000 +0000
-+++ ext/glib2/rbgobj_object.c
-@@ -43,7 +43,8 @@ weak_notify(gpointer data, G_GNUC_UNUSED
-     gobj_holder *holder = data;
- 
-     rbgobj_instance_call_cinfo_free(holder->gobj);
--    rbgobj_invalidate_relatives(holder->self);
-+    g_hash_table_unref(holder->rb_relatives);
-+    holder->rb_relatives = NULL;
-     holder->destroyed = TRUE;
- 
-     g_object_unref(holder->gobj);
-@@ -51,11 +52,24 @@ weak_notify(gpointer data, G_GNUC_UNUSED
- }
- 
- static void
-+holder_relatives_mark(gpointer key, gpointer value, gpointer user_data)
-+{
-+    VALUE rb_relative = (VALUE)value;
-+    rb_gc_mark(rb_relative);
-+}
-+
-+static void
- holder_mark(void *data)
- {
-     gobj_holder *holder = data;
--    if (holder->gobj && !holder->destroyed)
--        rbgobj_instance_call_cinfo_mark(holder->gobj);
-+
-+    if (!holder->gobj)
-+        return;
-+    if (holder->destroyed)
-+        return;
-+
-+    rbgobj_instance_call_cinfo_mark(holder->gobj);
-+    g_hash_table_foreach(holder->rb_relatives, holder_relatives_mark, NULL);
- }
- 
- static void
-@@ -91,6 +105,59 @@ static const rb_data_type_t rg_glib_obje
-     RUBY_TYPED_FREE_IMMEDIATELY,
- };
- 
-+void
-+rbgobj_object_add_relative(VALUE rb_gobject, VALUE rb_relative)
-+{
-+    gobj_holder *holder;
-+    TypedData_Get_Struct(rb_gobject,
-+                         gobj_holder,
-+                         &rg_glib_object_type,
-+                         holder);
-+    if (holder->rb_relatives) {
-+        g_hash_table_insert(holder->rb_relatives,
-+                            (gpointer)(rb_relative),
-+                            (gpointer)(rb_relative));
-+    }
-+}
-+
-+void
-+rbgobj_object_remove_relative(VALUE rb_gobject, VALUE rb_relative)
-+{
-+    gobj_holder *holder;
-+    TypedData_Get_Struct(rb_gobject,
-+                         gobj_holder,
-+                         &rg_glib_object_type,
-+                         holder);
-+    if (holder->rb_relatives) {
-+        g_hash_table_remove(holder->rb_relatives,
-+                            (gpointer)(rb_relative));
-+    }
-+}
-+
-+static gboolean
-+rbgobj_object_remove_relatives_body(gpointer key,
-+                                    gpointer value,
-+                                    gpointer user_data)
-+{
-+    VALUE rb_relative = (VALUE)value;
-+    VALUE rb_relative_class = (VALUE)user_data;
-+
-+    return RVAL2CBOOL(rb_obj_is_kind_of(rb_relative, rb_relative_class));
-+}
-+
-+void
-+rbgobj_object_remove_relatives(VALUE rb_gobject, VALUE rb_relative_class)
-+{
-+    gobj_holder *holder;



Home | Main Index | Thread Index | Old Index