diff options
author | Ted Gould <ted@canonical.com> | 2009-06-25 15:38:16 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-06-25 15:38:16 -0500 |
commit | 7fde2d3d2d3b1437eea4695d5164d92b0d845b5c (patch) | |
tree | e5c49e11ef8031a7a4fdce5414ae3bbf8e0f2aca /libdbusmenu-gtk/client.h | |
parent | 1e11dbfb9f51114ae1f1fe9fc2d25a507f54738a (diff) | |
download | libdbusmenu-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.h | 2 |
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 |