gimp r25421 - in branches/weskaggs: . app/core



Author: weskaggs
Date: Tue Apr  8 23:44:32 2008
New Revision: 25421
URL: http://svn.gnome.org/viewvc/gimp?rev=25421&view=rev

Log:
Bill Skaggs  <weskaggs primate ucdavis edu>

	* app/core/gimpdatafactory.c: don't forget writable path
	after loading directories.


Modified:
   branches/weskaggs/ChangeLog
   branches/weskaggs/app/core/gimpdatafactory.c

Modified: branches/weskaggs/app/core/gimpdatafactory.c
==============================================================================
--- branches/weskaggs/app/core/gimpdatafactory.c	(original)
+++ branches/weskaggs/app/core/gimpdatafactory.c	Tue Apr  8 23:44:32 2008
@@ -295,6 +295,7 @@
           g_free (writable_path);
           writable_path = tmp;
 
+          /* FIXME: this will leak */
           writable_list = gimp_path_parse (writable_path, 16, TRUE, NULL);
 
           g_object_set_data (G_OBJECT (factory),
@@ -307,12 +308,6 @@
       gimp_datafiles_read_directories (path, G_FILE_TEST_IS_DIR,
                                        gimp_data_factory_load_data_recursive,
                                        &context);
-
-      if (writable_path)
-        {
-          gimp_path_free (writable_list);
-          g_object_set_data (G_OBJECT (factory), WRITABLE_PATH_KEY, NULL);
-        }
     }
 
   g_free (path);



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