summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-item-v0.h
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/status-notifier/sn-item-v0.h')
-rw-r--r--applets/notification_area/status-notifier/sn-item-v0.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/applets/notification_area/status-notifier/sn-item-v0.h b/applets/notification_area/status-notifier/sn-item-v0.h
index 4b1bd492..548905e8 100644
--- a/applets/notification_area/status-notifier/sn-item-v0.h
+++ b/applets/notification_area/status-notifier/sn-item-v0.h
@@ -22,8 +22,19 @@
G_BEGIN_DECLS
-#define SN_TYPE_ITEM_V0 sn_item_v0_get_type ()
-G_DECLARE_FINAL_TYPE (SnItemV0, sn_item_v0, SN, ITEM_V0, SnItem)
+#define SN_TYPE_ITEM_V0 (sn_item_v0_get_type ())
+#define SN_ITEM_V0(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SN_TYPE_ITEM_V0, SnItemV0))
+#define SN_IS_ITEM_V0(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SN_TYPE_ITEM_V0))
+
+typedef struct _SnItemV0 SnItemV0;
+typedef struct _SnItemV0Class SnItemV0Class;
+
+struct _SnItemV0Class
+{
+ SnItemClass parent_class;
+};
+
+GType sn_item_v0_get_type (void);
SnItem *sn_item_v0_new (const gchar *bus_name,
const gchar *object_path);