aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/client.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-25 15:38:16 -0500
committerTed Gould <ted@canonical.com>2009-06-25 15:38:16 -0500
commit7fde2d3d2d3b1437eea4695d5164d92b0d845b5c (patch)
treee5c49e11ef8031a7a4fdce5414ae3bbf8e0f2aca /libdbusmenu-gtk/client.h
parent1e11dbfb9f51114ae1f1fe9fc2d25a507f54738a (diff)
downloadlibdbusmenu-7fde2d3d2d3b1437eea4695d5164d92b0d845b5c.tar.gz
libdbusmenu-7fde2d3d2d3b1437eea4695d5164d92b0d845b5c.tar.bz2
libdbusmenu-7fde2d3d2d3b1437eea4695d5164d92b0d845b5c.zip
Make it so that getting the menuitem will create it in cases where it's not created. This removes the chance of a race between the various functions.
Diffstat (limited to 'libdbusmenu-gtk/client.h')
-rw-r--r--libdbusmenu-gtk/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/client.h b/libdbusmenu-gtk/client.h
index 3c0117a..a549fe0 100644
--- a/libdbusmenu-gtk/client.h
+++ b/libdbusmenu-gtk/client.h
@@ -77,7 +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 (DbusmenuMenuitem * item);
+GtkMenuItem * dbusmenu_gtkclient_menuitem_get (DbusmenuGtkClient * client, DbusmenuMenuitem * item);
/**
SECTION:gtkmenu