summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-host-v0.h
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/status-notifier/sn-host-v0.h')
-rw-r--r--applets/notification_area/status-notifier/sn-host-v0.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/applets/notification_area/status-notifier/sn-host-v0.h b/applets/notification_area/status-notifier/sn-host-v0.h
index 61c8b5c3..6681c111 100644
--- a/applets/notification_area/status-notifier/sn-host-v0.h
+++ b/applets/notification_area/status-notifier/sn-host-v0.h
@@ -23,9 +23,19 @@
G_BEGIN_DECLS
-#define SN_TYPE_HOST_V0 sn_host_v0_get_type ()
-G_DECLARE_FINAL_TYPE (SnHostV0, sn_host_v0, SN, HOST_V0, SnHostV0GenSkeleton)
+#define SN_TYPE_HOST_V0 (sn_host_v0_get_type ())
+#define SN_HOST_V0(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SN_TYPE_HOST_V0, SnHostV0))
+#define SN_IS_HOST_V0(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SN_TYPE_HOST_V0))
+typedef struct _SnHostV0 SnHostV0;
+typedef struct _SnHostV0Class SnHostV0Class;
+
+struct _SnHostV0Class
+{
+ SnHostV0GenSkeletonClass parent_class;
+};
+
+GType sn_host_v0_get_type (void);
NaHost *sn_host_v0_new (void);
G_END_DECLS