app: run dispose explicitely on the paint_options before unrefing them

This commit is contained in:
Michael Natterer
2010-06-26 23:22:53 +02:00
parent 324fa432b6
commit d596695afc

View File

@ -66,6 +66,7 @@ gimp_paint_info_dispose (GObject *object)
if (paint_info->paint_options) if (paint_info->paint_options)
{ {
g_object_run_dispose (G_OBJECT (paint_info->paint_options));
g_object_unref (paint_info->paint_options); g_object_unref (paint_info->paint_options);
paint_info->paint_options = NULL; paint_info->paint_options = NULL;
} }