[glib/wip/gcleanup] gtype: Remove unneeded ref of static parent type



commit b1685ffbfe0615099a1b991fc3363946c9453d95
Author: Stef Walter <stefw gnome org>
Date:   Thu Nov 7 22:55:36 2013 +0100

    gtype: Remove unneeded ref of static parent type

 gobject/gtype.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gtype.c b/gobject/gtype.c
index bc3fd90..3dd9e6c 100644
--- a/gobject/gtype.c
+++ b/gobject/gtype.c
@@ -2767,7 +2767,6 @@ g_type_register_static (GType            parent_type,
   
   pnode = lookup_type_node_I (parent_type);
   G_WRITE_LOCK (&type_rw_lock);
-  type_data_ref_Wm (pnode);
   if (check_type_info_I (pnode, NODE_FUNDAMENTAL_TYPE (pnode), type_name, info))
     {
       node = type_node_new_W (pnode, type_name, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]