[dconf] flatten: use text strings instead of markup



commit d6822834cd049de6b6fd4012edf97a48b4737ab0
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Aug 14 11:10:59 2009 -0400

    flatten: use text strings instead of markup

 writer/dconf-writer-flatten.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/writer/dconf-writer-flatten.c b/writer/dconf-writer-flatten.c
index ee6fe01..86d2e0b 100644
--- a/writer/dconf-writer-flatten.c
+++ b/writer/dconf-writer-flatten.c
@@ -102,11 +102,11 @@ dconf_writer_dump_entry (gpointer key,
                          gpointer value,
                          gpointer user_data)
 {
-  GString *string;
+  gchar *string;
 
-  string = g_variant_markup_print (value, NULL, 0, 0, 0);
-  g_message ("  %s = %s", (const gchar *) key, string->str);
-  g_string_free (string, TRUE);
+  string = g_variant_print (value, TRUE);
+  g_message ("  %s = %s", (const gchar *) key, string);
+  g_free (string);
 
   return FALSE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]