aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-06-16 22:42:29 -0500
committerTed Gould <ted@gould.cx>2011-06-16 22:42:29 -0500
commit17245d2e9b1cc33c616dfcd051dfc9dadca8f99c (patch)
tree39df7a455fe0382d77259f72891e89d4d38c80ec /libdbusmenu-glib
parent2960e028e98163a9932a8e47940ce12032c55af5 (diff)
downloadlibdbusmenu-17245d2e9b1cc33c616dfcd051dfc9dadca8f99c.tar.gz
libdbusmenu-17245d2e9b1cc33c616dfcd051dfc9dadca8f99c.tar.bz2
libdbusmenu-17245d2e9b1cc33c616dfcd051dfc9dadca8f99c.zip
Answering a TODO
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/server.c3
1 files changed, 2 insertions, 1 deletions
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) {