[glib/wip/menus: 55/61] Make org.gtk.Actions.Describe work
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/menus: 55/61] Make org.gtk.Actions.Describe work
- Date: Thu, 17 Nov 2011 23:39:19 +0000 (UTC)
commit a9af7ea50f4117955f9d31e08c9642faea623389
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 30 00:00:27 2011 -0400
Make org.gtk.Actions.Describe work
The return value was missing one level of tupelization.
gio/gactiongroupexporter.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gio/gactiongroupexporter.c b/gio/gactiongroupexporter.c
index b1da1af..9673ff2 100644
--- a/gio/gactiongroupexporter.c
+++ b/gio/gactiongroupexporter.c
@@ -386,9 +386,11 @@ org_gtk_Actions_method_call (GDBusConnection *connection,
else if (g_str_equal (method_name, "Describe"))
{
const gchar *name;
+ GVariant *desc;
g_variant_get (parameters, "(&s)", &name);
- result = g_action_group_describe_action (exporter->action_group, name);
+ desc = g_action_group_describe_action (exporter->action_group, name);
+ result = g_variant_new ("(@(bgav))", desc);
}
else if (g_str_equal (method_name, "DescribeAll"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]