[gimp/soc-2010-cage] app: add a forgotten g_object_unref()
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage] app: add a forgotten g_object_unref()
- Date: Wed, 30 Jun 2010 22:14:15 +0000 (UTC)
commit b99b33dd9b697856f9b3ca677b8d4a695b085f07
Author: Michael Natterer <mitch gimp org>
Date: Wed Jun 23 22:50:45 2010 +0200
app: add a forgotten g_object_unref()
so all dockables are destroyed when a dock is destroyed.
app/widgets/gimppanedbox.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimppanedbox.c b/app/widgets/gimppanedbox.c
index e7b6606..d296fac 100644
--- a/app/widgets/gimppanedbox.c
+++ b/app/widgets/gimppanedbox.c
@@ -580,6 +580,8 @@ gimp_paned_box_remove_widget (GimpPanedBox *paned_box,
gtk_box_pack_start (GTK_BOX (paned_box), other_widget, TRUE, TRUE, 0);
g_object_unref (other_widget);
+
+ g_object_unref (widget);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]