gegl r1876 - in trunk: . gegl
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r1876 - in trunk: . gegl
- Date: Mon, 21 Jan 2008 00:31:28 +0000 (GMT)
Author: ok
Date: Mon Jan 21 00:31:28 2008
New Revision: 1876
URL: http://svn.gnome.org/viewvc/gegl?rev=1876&view=rev
Log:
* gegl/gegl-init.c: (gegl_post_parse_hook): moved BABL_ERROR mangling
of environment variable to be before babl_init().
Modified:
trunk/ChangeLog
trunk/gegl/gegl-init.c
Modified: trunk/gegl/gegl-init.c
==============================================================================
--- trunk/gegl/gegl-init.c (original)
+++ trunk/gegl/gegl-init.c Mon Jan 21 00:31:28 2008
@@ -213,6 +213,9 @@
gegl_instrument ("gegl", "gegl_init", 0);
time = gegl_ticks ();
+
+ if (g_getenv ("BABL_ERROR") == NULL)
+ g_setenv ("BABL_ERROR", "0.001", 0);
babl_init ();
gegl_instrument ("gegl_init", "babl_init", gegl_ticks () - time);
@@ -222,8 +225,6 @@
gchar *load_inhibit = g_strdup ("");
gchar *module_path;
- if (g_getenv ("BABL_ERROR") == NULL)
- g_setenv ("BABL_ERROR", "0.0001", 0);
if (g_getenv ("GEGL_PATH"))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]