summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-dbus-menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/status-notifier/sn-dbus-menu.h')
-rw-r--r--applets/notification_area/status-notifier/sn-dbus-menu.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/applets/notification_area/status-notifier/sn-dbus-menu.h b/applets/notification_area/status-notifier/sn-dbus-menu.h
index 39907d07..d92f8eb8 100644
--- a/applets/notification_area/status-notifier/sn-dbus-menu.h
+++ b/applets/notification_area/status-notifier/sn-dbus-menu.h
@@ -22,8 +22,19 @@
G_BEGIN_DECLS
-#define SN_TYPE_DBUS_MENU sn_dbus_menu_get_type ()
-G_DECLARE_FINAL_TYPE (SnDBusMenu, sn_dbus_menu, SN, DBUS_MENU, GtkMenu)
+#define SN_TYPE_DBUS_MENU (sn_dbus_menu_get_type ())
+#define SN_DBUS_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SN_TYPE_DBUS_MENU, SnDBusMenu))
+#define SN_IS_DBUS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SN_TYPE_DBUS_MENU))
+
+typedef struct _SnDBusMenu SnDBusMenu;
+typedef struct _SnDBusMenuClass SnDBusMenuClass;
+
+struct _SnDBusMenuClass
+{
+ GtkMenuClass parent_class;
+};
+
+GType sn_dbus_menu_get_type (void);
GtkMenu *sn_dbus_menu_new (const gchar *bus_name,
const gchar *object_path);