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:
parent
88e8fbce17
commit
69f6d7fc8a
1 changed files with 0 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue