[dconf] adjust to sam's gvariant changes
- From: Ryan Lortie <ryanl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dconf] adjust to sam's gvariant changes
- Date: Fri, 14 Aug 2009 14:54:45 +0000 (UTC)
commit 60e061d0895c806e651d7132f8d269b16f75f336
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Aug 14 00:13:33 2009 -0400
adjust to sam's gvariant changes
bin/dconf-get.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/bin/dconf-get.c b/bin/dconf-get.c
index 091cf53..2fe868e 100644
--- a/bin/dconf-get.c
+++ b/bin/dconf-get.c
@@ -28,11 +28,11 @@ main (int argc, char **argv)
if (value != NULL)
{
- GString *string;
+ gchar *str;
- string = g_variant_markup_print (value, NULL, TRUE, 0, 2);
- printf ("%s", string->str);
- g_string_free (string, TRUE);
+ str = g_variant_markup_print (value, TRUE, 0, 2);
+ printf ("%s", str);
+ g_free (str);
g_variant_unref (value);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]