[gegl] gegl-binary: remove traces of xml and fix argument order for gegl_serialize
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-binary: remove traces of xml and fix argument order for gegl_serialize
- Date: Sat, 23 Apr 2016 10:53:31 +0000 (UTC)
commit 6e856371a1f98023016a8954b78a4ea18c23b3a8
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Apr 23 11:48:20 2016 +0100
gegl-binary: remove traces of xml and fix argument order for gegl_serialize
bin/ui.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/bin/ui.c b/bin/ui.c
index 73bc6d5..2b652c9 100644
--- a/bin/ui.c
+++ b/bin/ui.c
@@ -1955,7 +1955,7 @@ static void save_cb (MrgEvent *event, void *data1, void *data2)
GeglNode *load;
State *o = data1;
gchar *path;
- char *xml;
+ char *serialized;
gegl_node_link_many (o->sink, o->save, NULL);
gegl_node_process (o->save);
@@ -1968,13 +1968,13 @@ static void save_cb (MrgEvent *event, void *data1, void *data2)
gegl_node_link_many (load, o->source, NULL);
{
char *containing_path = get_path_parent (o->path);
- xml = gegl_node_to_xml (o->sink, containing_path);
+ serialized = gegl_serialize (NULL, o->sink, containing_path);
free (containing_path);
}
gegl_node_remove_child (o->gegl, load);
gegl_node_link_many (o->load, o->source, NULL);
- gegl_meta_set (path, xml);
- g_free (xml);
+ gegl_meta_set (path, serialized);
+ g_free (serialized);
o->rev = 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]