gegl r2834 - in trunk: . bin gegl
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2834 - in trunk: . bin gegl
- Date: Wed, 31 Dec 2008 00:23:32 +0000 (UTC)
Author: ok
Date: Wed Dec 31 00:23:32 2008
New Revision: 2834
URL: http://svn.gnome.org/viewvc/gegl?rev=2834&view=rev
Log:
* bin/gegl.c: (file_is_gegl_xml), (main): output the parsed and
reformmated XML using g_printf instead of g_print to preserve utf8
(why is this needed?)
* gegl/gegl-init.c: (gegl_exit): output time instrumentation using
g_printf instead of g_print
Modified:
trunk/ChangeLog
trunk/bin/gegl.c
trunk/gegl/gegl-init.c
Modified: trunk/bin/gegl.c
==============================================================================
--- trunk/bin/gegl.c (original)
+++ trunk/bin/gegl.c Wed Dec 31 00:23:32 2008
@@ -73,7 +73,9 @@
if (extension[0]=='\0')
return FALSE;
if (!strcmp (extension, "xml")||
- !strcmp (extension, "XML"))
+ !strcmp (extension, "XML")||
+ !strcmp (extension, "svg")
+ )
return TRUE;
return FALSE;
}
@@ -229,7 +231,7 @@
return 0;
break;
case GEGL_RUN_MODE_XML:
- g_print ("%s\n", gegl_node_to_xml (gegl, path_root));
+ g_printf ("%s\n", gegl_node_to_xml (gegl, path_root));
return 0;
break;
#if 0
Modified: trunk/gegl/gegl-init.c
==============================================================================
--- trunk/gegl/gegl-init.c (original)
+++ trunk/gegl/gegl-init.c Wed Dec 31 00:23:32 2008
@@ -353,11 +353,11 @@
if (g_getenv ("GEGL_DEBUG_TIME") != NULL)
{
- g_print ("\n%s", gegl_instrument_utf8 ());
+ g_printf ("\n%s", gegl_instrument_utf8 ());
}
if (gegl_buffer_leaks ())
- g_print (" buffer-leaks: %i", gegl_buffer_leaks ());
+ g_printf (" buffer-leaks: %i", gegl_buffer_leaks ());
gegl_tile_cache_destroy ();
if (gegl_swap_dir ())
@@ -395,7 +395,7 @@
g_object_unref (config);
config = NULL;
- g_print ("\n");
+ g_printf ("\n");
}
static void swap_clean (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]