[gimp] app: add a forgotten g_object_unref()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add a forgotten g_object_unref()
- Date: Wed, 23 Jun 2010 20:51:27 +0000 (UTC)
commit b43be361ffa12228fc7b2178f6244ae7f9415e77
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]