From da419c619744efc754e72df2e2101a32adca8a37 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Fri, 20 Jan 2017 11:03:03 +0100 Subject: Lower GLib dependency --- .../libstatus-notifier-watcher/gf-sn-watcher-v0.h | 15 ++++++++++++--- .../gf-status-notifier-watcher.h | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) (limited to 'applets/notification_area/libstatus-notifier-watcher') diff --git a/applets/notification_area/libstatus-notifier-watcher/gf-sn-watcher-v0.h b/applets/notification_area/libstatus-notifier-watcher/gf-sn-watcher-v0.h index 73bf6d04..877c5a85 100644 --- a/applets/notification_area/libstatus-notifier-watcher/gf-sn-watcher-v0.h +++ b/applets/notification_area/libstatus-notifier-watcher/gf-sn-watcher-v0.h @@ -22,10 +22,19 @@ G_BEGIN_DECLS -#define GF_TYPE_SN_WATCHER_V0 gf_sn_watcher_v0_get_type () -G_DECLARE_FINAL_TYPE (GfSnWatcherV0, gf_sn_watcher_v0, - GF, SN_WATCHER_V0, GfSnWatcherV0GenSkeleton) +#define GF_TYPE_SN_WATCHER_V0 (gf_sn_watcher_v0_get_type ()) +#define GF_SN_WATCHER_V0(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GF_TYPE_SN_WATCHER_V0, GfSnWatcherV0)) +#define GF_IS_SN_WATCHER_V0(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GF_TYPE_SN_WATCHER_V0)) +typedef struct _GfSnWatcherV0 GfSnWatcherV0; +typedef struct _GfSnWatcherV0Class GfSnWatcherV0Class; + +struct _GfSnWatcherV0Class +{ + GfSnWatcherV0GenSkeletonClass parent_class; +}; + +GType gf_sn_watcher_v0_get_type (void); GfSnWatcherV0 *gf_sn_watcher_v0_new (void); G_END_DECLS diff --git a/applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h b/applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h index fd871a42..4219891a 100644 --- a/applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h +++ b/applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h @@ -22,10 +22,19 @@ G_BEGIN_DECLS -#define GF_TYPE_STATUS_NOTIFIER_WATCHER gf_status_notifier_watcher_get_type () -G_DECLARE_FINAL_TYPE (GfStatusNotifierWatcher, gf_status_notifier_watcher, - GF, STATUS_NOTIFIER_WATCHER, GObject) +#define GF_TYPE_STATUS_NOTIFIER_WATCHER (gf_status_notifier_watcher_get_type ()) +#define GF_STATUS_NOTIFIER_WATCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GF_TYPE_STATUS_NOTIFIER_WATCHER, GfStatusNotifierWatcher)) +#define GF_IS_STATUS_NOTIFIER_WATCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GF_TYPE_STATUS_NOTIFIER_WATCHER)) +typedef struct _GfStatusNotifierWatcher GfStatusNotifierWatcher; +typedef struct _GfStatusNotifierWatcherClass GfStatusNotifierWatcherClass; + +struct _GfStatusNotifierWatcherClass +{ + GObjectClass parent_class; +}; + +GType gf_status_notifier_watcher_get_type (void); GfStatusNotifierWatcher *gf_status_notifier_watcher_new (void); G_END_DECLS -- cgit v1.2.1