[glib/wip/gapplication] Handle NULL descriptions
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gapplication] Handle NULL descriptions
- Date: Fri, 4 Jun 2010 01:09:08 +0000 (UTC)
commit 8a9930e40055d87db9752e0fdf2d78613a04cd71
Author: Colin Walters <walters verbum org>
Date: Thu Jun 3 21:08:51 2010 -0400
Handle NULL descriptions
gio/gunixapplication.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gunixapplication.c b/gio/gunixapplication.c
index 1dfdfc1..de9f522 100644
--- a/gio/gunixapplication.c
+++ b/gio/gunixapplication.c
@@ -68,7 +68,7 @@ application_dbus_method_call (GDBusConnection *connection,
while (g_hash_table_iter_next (&iter, NULL, (gpointer *)&value))
g_variant_builder_add (&builder, "{s(sb)}",
value->name,
- value->description,
+ value->description ? value->description : "",
value->enabled);
result = g_variant_builder_end (&builder);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]