[gtk+] GtkUIManager Buildable implementation: Fixing leaked reference count



commit 0f67bd7cfe1066403fb7e5acf209d7b24d170b25
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Wed Feb 20 18:17:14 2013 +0900

    GtkUIManager Buildable implementation: Fixing leaked reference count
    
    Committing this on behalf of Milan Crha, bug: 694162

 gtk/gtkuimanager.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c
index 9d93046..75189aa 100644
--- a/gtk/gtkuimanager.c
+++ b/gtk/gtkuimanager.c
@@ -714,7 +714,6 @@ gtk_ui_manager_buildable_add_child (GtkBuildable  *buildable,
 
   pos = g_list_length (manager->private_data->action_groups);
 
-  g_object_ref (child);
   gtk_ui_manager_insert_action_group (manager,
                                      GTK_ACTION_GROUP (child),
                                      pos);


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