diff options
author | Ted Gould <ted@canonical.com> | 2009-06-23 15:44:29 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-06-23 15:44:29 -0500 |
commit | 6d57a21249c6089514bdaca9b6fe041296adeec3 (patch) | |
tree | 4b593f524893616470adfdc4f68f23b7e3d76671 /libdbusmenu-glib/client.h | |
parent | de09b3a907fa4ace875dd2446a9217b940ede6b5 (diff) | |
download | libdbusmenu-6d57a21249c6089514bdaca9b6fe041296adeec3.tar.gz libdbusmenu-6d57a21249c6089514bdaca9b6fe041296adeec3.tar.bz2 libdbusmenu-6d57a21249c6089514bdaca9b6fe041296adeec3.zip |
Adding two new signals to the client. 'root-changed' and 'new-menuitem' to make it so that this can go up the stack easier.
Diffstat (limited to 'libdbusmenu-glib/client.h')
-rw-r--r-- | libdbusmenu-glib/client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.h b/libdbusmenu-glib/client.h index d591ebb..35f7122 100644 --- a/libdbusmenu-glib/client.h +++ b/libdbusmenu-glib/client.h @@ -44,6 +44,8 @@ G_BEGIN_DECLS #define DBUSMENU_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUSMENU_TYPE_CLIENT, DbusmenuClientClass)) #define DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED "layout-updated" +#define DBUSMENU_CLIENT_SIGNAL_ROOT_CHANGED "root-changed" +#define DBUSMENU_CLIENT_SIGNAL_NEW_MENUITEM "new-menuitem" #define DBUSMENU_CLIENT_PROP_DBUS_NAME "dbus-name" #define DBUSMENU_CLIENT_PROP_DBUS_OBJECT "dbus-object" @@ -66,6 +68,8 @@ struct _DbusmenuClientClass { GObjectClass parent_class; void (*layout_updated)(void); + void (*root_changed) (DbusmenuMenuitem * newroot); + void (*new_menuitem) (DbusmenuMenuitem * newitem); /* Reserved for future use */ void (*reserved1) (void); |