[gimp/soc-2010-cage] app: run dispose explicitely on the paint_options before unrefing them



commit a16c47d6fe5370a5f85b658192a4f8f164e9ee8e
Author: Michael Natterer <mitch gimp org>
Date:   Sat Jun 26 23:22:53 2010 +0200

    app: run dispose explicitely on the paint_options before unrefing them

 app/core/gimppaintinfo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimppaintinfo.c b/app/core/gimppaintinfo.c
index 757a1f3..20b3ad3 100644
--- a/app/core/gimppaintinfo.c
+++ b/app/core/gimppaintinfo.c
@@ -66,6 +66,7 @@ gimp_paint_info_dispose (GObject *object)
 
   if (paint_info->paint_options)
     {
+      g_object_run_dispose (G_OBJECT (paint_info->paint_options));
       g_object_unref (paint_info->paint_options);
       paint_info->paint_options = NULL;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]