gimp r27788 - in trunk: . app/core



Author: neo
Date: Sun Dec 14 19:04:05 2008
New Revision: 27788
URL: http://svn.gnome.org/viewvc/gimp?rev=27788&view=rev

Log:
2008-12-14  Sven Neumann  <sven gimp org>

	* app/core/gimp.c: reverted last change as it is totally bogus 
and
	the old code was correct.



Modified:
   trunk/ChangeLog
   trunk/app/core/gimp.c

Modified: trunk/app/core/gimp.c
==============================================================================
--- trunk/app/core/gimp.c	(original)
+++ trunk/app/core/gimp.c	Sun Dec 14 19:04:05 2008
@@ -272,6 +272,29 @@
   if (gimp->be_verbose)
     g_print ("EXIT: %s\n", G_STRFUNC);
 
+  if (gimp->brush_factory)
+    gimp_data_factory_data_free (gimp->brush_factory);
+
+  if (gimp->pattern_factory)
+    gimp_data_factory_data_free (gimp->pattern_factory);
+
+  if (gimp->gradient_factory)
+    gimp_data_factory_data_free (gimp->gradient_factory);
+
+  if (gimp->palette_factory)
+    gimp_data_factory_data_free (gimp->palette_factory);
+
+  G_OBJECT_CLASS (parent_class)->dispose (object);
+}
+
+static void
+gimp_finalize (GObject *object)
+{
+  Gimp *gimp = GIMP (object);
+
+  if (gimp->be_verbose)
+    g_print ("EXIT: %s\n", G_STRFUNC);
+
   gimp_contexts_exit (gimp);
 
   if (gimp->image_new_last_template)
@@ -409,29 +432,6 @@
       gimp->context_list = NULL;
     }
 
-  G_OBJECT_CLASS (parent_class)->dispose (object);
-}
-
-static void
-gimp_finalize (GObject *object)
-{
-  Gimp *gimp = GIMP (object);
-
-  if (gimp->be_verbose)
-    g_print ("EXIT: %s\n", G_STRFUNC);
-
-  if (gimp->brush_factory)
-    gimp_data_factory_data_free (gimp->brush_factory);
-
-  if (gimp->pattern_factory)
-    gimp_data_factory_data_free (gimp->pattern_factory);
-
-  if (gimp->gradient_factory)
-    gimp_data_factory_data_free (gimp->gradient_factory);
-
-  if (gimp->palette_factory)
-    gimp_data_factory_data_free (gimp->palette_factory);
-
   gimp_units_exit (gimp);
 
   G_OBJECT_CLASS (parent_class)->finalize (object);



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