[gimp] app: need to call babl_init() in gimp_option_dump_gimprc()



commit fa05f2ab11cdb1f87860378354a4e92ca6160901
Author: Michael Natterer <mitch gimp org>
Date:   Tue Nov 20 08:21:33 2012 +0100

    app: need to call babl_init() in gimp_option_dump_gimprc()

 app/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/main.c b/app/main.c
index c372aa6..e39b415 100644
--- a/app/main.c
+++ b/app/main.c
@@ -41,6 +41,8 @@
 #include <gdk/gdk.h>
 #endif
 
+#include <babl/babl.h>
+
 #include "libgimpbase/gimpbase.h"
 
 #include "pdb/pdb-types.h"
@@ -594,6 +596,7 @@ gimp_option_dump_gimprc (const gchar  *option_name,
       gimp = g_object_new (GIMP_TYPE_GIMP, NULL);
 
       units_init (gimp);
+      babl_init ();
 
       success = gimp_config_dump (format);
 



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