[gegl/soc-2012-editor] initialize babl before gegl-config
- From: Isaac Wagner <isaacbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/soc-2012-editor] initialize babl before gegl-config
- Date: Tue, 5 Jun 2012 00:13:14 +0000 (UTC)
commit a1ea0116c8d480c2b79d0b3e36ffacbd27a61a1d
Author: Michael Murà <mure michael gmail com>
Date: Sun May 13 00:25:35 2012 +0900
initialize babl before gegl-config
The opencl code access babl during the configuration
gegl/gegl-init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c
index 7faf811..6ef1d6f 100644
--- a/gegl/gegl-init.c
+++ b/gegl/gegl-init.c
@@ -475,6 +475,7 @@ gegl_post_parse_hook (GOptionContext *context,
g_assert (global_time == 0);
global_time = gegl_ticks ();
g_type_init ();
+ babl_init ();
gegl_instrument ("gegl", "gegl_init", 0);
config = (void*)gegl_config ();
@@ -517,7 +518,6 @@ gegl_post_parse_hook (GOptionContext *context,
time = gegl_ticks ();
- babl_init ();
gegl_instrument ("gegl_init", "babl_init", gegl_ticks () - time);
gegl_init_i18n ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]