[gimp] app: need to call babl_init() in gimp_option_dump_gimprc()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: need to call babl_init() in gimp_option_dump_gimprc()
- Date: Tue, 20 Nov 2012 07:22:47 +0000 (UTC)
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]