Commit 9c376b38 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

cosmetics.

2005-04-20  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpui.c (gimp_ensure_modules): cosmetics.
parent 2147e502
2005-04-20 Sven Neumann <sven@gimp.org>
* libgimp/gimpui.c (gimp_ensure_modules): cosmetics.
2005-04-20 Sven Neumann <sven@gimp.org> 2005-04-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/mail.c: set charset to UTF-8. Initialize the * plug-ins/common/mail.c: set charset to UTF-8. Initialize the
......
...@@ -136,17 +136,15 @@ gimp_ensure_modules (void) ...@@ -136,17 +136,15 @@ gimp_ensure_modules (void)
if (! module_db) if (! module_db)
{ {
gchar *load_inhibit; gchar *load_inhibit = gimp_get_module_load_inhibit ();
gchar *module_path; gchar *module_path = gimp_gimprc_query ("module-path");
load_inhibit = gimp_get_module_load_inhibit ();
module_path = gimp_gimprc_query ("module-path");
module_db = gimp_module_db_new (FALSE); module_db = gimp_module_db_new (FALSE);
gimp_module_db_set_load_inhibit (module_db, load_inhibit); gimp_module_db_set_load_inhibit (module_db, load_inhibit);
gimp_module_db_load (module_db, module_path); gimp_module_db_load (module_db, module_path);
g_free (load_inhibit);
g_free (module_path); g_free (module_path);
g_free (load_inhibit);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment