aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-05 22:20:17 -0400
committerTed Gould <ted@canonical.com>2009-10-05 22:20:17 -0400
commit43d3d3a1ad4338110116e9312800a030c7f1606f (patch)
tree088893ca1d271258acf53d9e342e9e5b0eaa09b8 /tools
parent6d6d74a630bc7212b506089d4b0cf8f6d6d9ec60 (diff)
downloadlibdbusmenu-43d3d3a1ad4338110116e9312800a030c7f1606f.tar.gz
libdbusmenu-43d3d3a1ad4338110116e9312800a030c7f1606f.tar.bz2
libdbusmenu-43d3d3a1ad4338110116e9312800a030c7f1606f.zip
Adding quotes around the values of properties.
Diffstat (limited to 'tools')
-rw-r--r--tools/dbusmenu-dumper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dbusmenu-dumper.c b/tools/dbusmenu-dumper.c
index 3cff162..74c992d 100644
--- a/tools/dbusmenu-dumper.c
+++ b/tools/dbusmenu-dumper.c
@@ -36,7 +36,7 @@ print_menuitem (DbusmenuMenuitem * item, int depth)
GList * properties = dbusmenu_menuitem_properties_list(item);
GList * property;
for (property = properties; property != NULL; property = g_list_next(property)) {
- g_print("\n%s\"%s\": %s", space, (gchar *)property->data, dbusmenu_menuitem_property_get(item, (gchar *)property->data));
+ g_print("\n%s\"%s\": \"%s\"", space, (gchar *)property->data, dbusmenu_menuitem_property_get(item, (gchar *)property->data));
}
g_list_free(properties);