diff src/bar_exif.c @ 1314:8cca18bce950

simplified config writing
author nadvornik
date Mon, 23 Feb 2009 22:13:09 +0000
parents 55ea4962887a
children c1d108ab3388
line wrap: on
line diff
--- a/src/bar_exif.c	Mon Feb 23 21:21:15 2009 +0000
+++ b/src/bar_exif.c	Mon Feb 23 22:13:09 2009 +0000
@@ -289,14 +289,12 @@
 	ped = g_object_get_data(G_OBJECT(pane), "pane_data");
 	if (!ped) return;
 
-	write_indent(outstr, indent);
-	g_string_append_printf(outstr, "<pane_exif\n");
+	WRITE_STRING("<pane_exif\n");
 	indent++;
 	WRITE_CHAR(*ped, pane.title);
 	WRITE_BOOL(*ped, pane.expanded);
 	indent--;
-	write_indent(outstr, indent);
-	g_string_append_printf(outstr, "/>\n");
+	WRITE_STRING("/>\n");
 }