aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/client.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-05-26 17:18:29 -0500
committerTed Gould <ted@gould.cx>2010-05-26 17:18:29 -0500
commitdece0b82c06a7ad23d204c394341d50a64ba3b7b (patch)
tree9f443a39c2da259bcbd8890d524220ef5b2f7c3f /libdbusmenu-gtk/client.h
parenta02759840b6bd595a0f6871539acf68233b39a13 (diff)
downloadlibdbusmenu-dece0b82c06a7ad23d204c394341d50a64ba3b7b.tar.gz
libdbusmenu-dece0b82c06a7ad23d204c394341d50a64ba3b7b.tar.bz2
libdbusmenu-dece0b82c06a7ad23d204c394341d50a64ba3b7b.zip
Adding a small function to get the submenu of an item.
Diffstat (limited to 'libdbusmenu-gtk/client.h')
-rw-r--r--libdbusmenu-gtk/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.h b/libdbusmenu-gtk/client.h
index 4cfbdcf..7672bf7 100644
--- a/libdbusmenu-gtk/client.h
+++ b/libdbusmenu-gtk/client.h
@@ -77,6 +77,7 @@ struct _DbusmenuGtkClient {
GType dbusmenu_gtkclient_get_type (void);
DbusmenuGtkClient * dbusmenu_gtkclient_new (gchar * dbus_name, gchar * dbus_object);
GtkMenuItem * dbusmenu_gtkclient_menuitem_get (DbusmenuGtkClient * client, DbusmenuMenuitem * item);
+GtkMenu * dbusmenu_gtkclient_menuitem_get_submenu (DbusmenuGtkClient * client, DbusmenuMenuitem * item);
void dbusmenu_gtkclient_newitem_base (DbusmenuGtkClient * client, DbusmenuMenuitem * item, GtkMenuItem * gmi, DbusmenuMenuitem * parent);