aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/server.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-18 10:39:09 -0600
committerTed Gould <ted@gould.cx>2011-01-18 10:39:09 -0600
commit74ccb9b179c63ae79719b480247bb844326ab675 (patch)
tree7c8a5d111f4deec08189db8742fad3f7d8acd084 /libdbusmenu-glib/server.c
parent72a77bdfbe9dd9925648b2cfa8b11804758def40 (diff)
downloadlibdbusmenu-74ccb9b179c63ae79719b480247bb844326ab675.tar.gz
libdbusmenu-74ccb9b179c63ae79719b480247bb844326ab675.tar.bz2
libdbusmenu-74ccb9b179c63ae79719b480247bb844326ab675.zip
Use the message string.
Diffstat (limited to 'libdbusmenu-glib/server.c')
-rw-r--r--libdbusmenu-glib/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index 8d18feb..75a305c 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -915,7 +915,7 @@ bus_get_group_properties (DbusmenuServer * server, GVariant * params, GDBusMetho
GError * error = NULL;
props = g_variant_parse(g_variant_type_new("a{sv}"), "{}", NULL, NULL, &error);
if (error != NULL) {
- g_warning("Unable to parse '{}' as a 'a{sv}'");
+ g_warning("Unable to parse '{}' as a 'a{sv}': %s", error->message);
g_error_free(error);
props = NULL;
}
@@ -935,7 +935,7 @@ bus_get_group_properties (DbusmenuServer * server, GVariant * params, GDBusMetho
GError * error = NULL;
ret = g_variant_parse(g_variant_type_new("a(ia(sv))"), "[]", NULL, NULL, NULL);
if (error != NULL) {
- g_warning("Unable to parse '[]' as a 'a(ia(sv))'");
+ g_warning("Unable to parse '[]' as a 'a(ia(sv))': %s", error->message);
g_error_free(error);
ret = NULL;
}