Mercurial > geeqie
diff src/bar_histogram.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_histogram.c Mon Feb 23 21:21:15 2009 +0000 +++ b/src/bar_histogram.c Mon Feb 23 22:13:09 2009 +0000 @@ -84,14 +84,12 @@ phd = g_object_get_data(G_OBJECT(pane), "pane_data"); if (!phd) return; - write_indent(outstr, indent); - g_string_append_printf(outstr, "<pane_histogram\n"); + WRITE_STRING("<pane_histogram\n"); indent++; WRITE_CHAR(*phd, pane.title); WRITE_BOOL(*phd, pane.expanded); indent--; - write_indent(outstr, indent); - g_string_append_printf(outstr, "/>\n"); + WRITE_STRING("/>\n"); }
