From ef09b6addc6fe5df82f3fded6f7b4b86377ef37f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 23 Jun 2009 22:58:59 -0500 Subject: Okay, now we're rebuilding this client thingy. --- libdbusmenu-gtk/client.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'libdbusmenu-gtk/client.h') diff --git a/libdbusmenu-gtk/client.h b/libdbusmenu-gtk/client.h index d208d16..96846a4 100644 --- a/libdbusmenu-gtk/client.h +++ b/libdbusmenu-gtk/client.h @@ -31,17 +31,18 @@ License version 3 and version 2.1 along with this program. If not, see #include #include +#include G_BEGIN_DECLS -#define DBUSMENU_GTKCLIENT_TYPE (dbusmenu_gtkmenu_get_type ()) +#define DBUSMENU_GTKCLIENT_TYPE (dbusmenu_gtkclient_get_type ()) #define DBUSMENU_GTKCLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUSMENU_GTKCLIENT_TYPE, DbusmenuGtkClient)) #define DBUSMENU_GTKCLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DBUSMENU_GTKCLIENT_TYPE, DbusmenuGtkClientClass)) #define DBUSMENU_IS_GTKCLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUSMENU_GTKCLIENT_TYPE)) #define DBUSMENU_IS_GTKCLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUSMENU_GTKCLIENT_TYPE)) #define DBUSMENU_GTKCLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUSMENU_GTKCLIENT_TYPE, DbusmenuGtkClientClass)) -#define DBUSMENU_GTKCLIENT_SIGNAL_ROOT_CHANGED "root-changed" +#define DBUSMENU_GTKCLIENT_SIGNAL_ROOT_CHANGED DBUSMENU_CLIENT_SIGNAL_ROOT_CHANGED /** DbusmenuGtkClientClass: @@ -53,7 +54,10 @@ G_BEGIN_DECLS */ typedef struct _DbusmenuGtkClientClass DbusmenuGtkClientClass; struct _DbusmenuGtkClientClass { - GtkMenuClass parent_class; + DbusmenuClientClass parent_class; + + /* Signals */ + void (*root_changed) (DbusmenuMenuitem * newroot); /* Reserved */ void (*reserved1) (void); @@ -68,7 +72,7 @@ struct _DbusmenuGtkClientClass { */ typedef struct _DbusmenuGtkClient DbusmenuGtkClient; struct _DbusmenuGtkClient { - GtkMenu parent; + DbusmenuClient parent; }; GType dbusmenu_gtkclient_get_type (void); -- cgit v1.2.3