From 83898a0cf858e8d67bd65a49ea86efee8bae9439 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 17 Jul 2007 10:55:21 +0000 Subject: [PATCH] unref the context. 2007-07-17 Sven Neumann * app/widgets/gimpmenudock.c (gimp_menu_dock_new): unref the context. svn path=/trunk/; revision=22942 --- ChangeLog | 4 ++++ app/widgets/gimpmenudock.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 96f03e076f..c706ba2e2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-07-17 Sven Neumann + + * app/widgets/gimpmenudock.c (gimp_menu_dock_new): unref the context. + 2007-07-17 Sven Neumann * app/core/gimptoolinfo.c (gimp_tool_info_new): use the tool-info diff --git a/app/widgets/gimpmenudock.c b/app/widgets/gimpmenudock.c index cbc95dd0f6..2f7015372d 100644 --- a/app/widgets/gimpmenudock.c +++ b/app/widgets/gimpmenudock.c @@ -388,6 +388,7 @@ gimp_menu_dock_new (GimpDialogFactory *dialog_factory, "context", context, "dialog-factory", dialog_factory, NULL); + g_object_unref (context); menu_dock->image_container = image_container; menu_dock->display_container = display_container;