unref the context.

2007-07-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpmenudock.c (gimp_menu_dock_new): unref the context.

svn path=/trunk/; revision=22942
This commit is contained in:
Sven Neumann 2007-07-17 10:55:21 +00:00 committed by Sven Neumann
parent f3c451becd
commit 83898a0cf8
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-07-17 Sven Neumann <sven@gimp.org>
* app/widgets/gimpmenudock.c (gimp_menu_dock_new): unref the context.
2007-07-17 Sven Neumann <sven@gimp.org>
* app/core/gimptoolinfo.c (gimp_tool_info_new): use the tool-info

View File

@ -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;