app: don't ref the tool options GUI in gimp_tool_options_editor_dispose()

They are kept alive by a ref owned by GimpToolOptions, refing them
here made them all being leaked on exit.
This commit is contained in:
Michael Natterer 2014-10-09 00:35:57 +02:00
parent 88e8fbce17
commit 69f6d7fc8a

View file

@ -255,7 +255,6 @@ gimp_tool_options_editor_dispose (GObject *object)
for (list = options; list; list = g_list_next (list))
{
g_object_ref (list->data);
gtk_container_remove (GTK_CONTAINER (editor->p->options_vbox),
GTK_WIDGET (list->data));
}