From 17245d2e9b1cc33c616dfcd051dfc9dadca8f99c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 16 Jun 2011 22:42:29 -0500 Subject: Answering a TODO --- libdbusmenu-glib/server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdbusmenu-glib') diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c index 0af5cdd..f81b3ed 100644 --- a/libdbusmenu-glib/server.c +++ b/libdbusmenu-glib/server.c @@ -1337,7 +1337,8 @@ bus_get_group_properties (DbusmenuServer * server, GVariant * params, GDBusMetho if (priv->root == NULL) { /* Allow a request for just id 0 when root is null. Return no properties. - TODO: Why is this here? + So that a request always returns a valid structure no matter the + state of the structure in the server. */ GVariant * idlist = g_variant_get_child_value(params, 0); if (g_variant_n_children(idlist) == 1) { -- cgit v1.2.3