summaryrefslogtreecommitdiff
path: root/applets/notification_area/libstatus-notifier-watcher
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-01-20 11:03:03 +0100
committerlukefromdc <[email protected]>2017-01-23 13:49:34 -0500
commitda419c619744efc754e72df2e2101a32adca8a37 (patch)
tree37df54c88607741686a5e2a50a49b90811c021a2 /applets/notification_area/libstatus-notifier-watcher
parent7d39b2e82f46777efa67224f078c1cec9e827654 (diff)
downloadmate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.bz2
mate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.xz
Lower GLib dependency
Diffstat (limited to 'applets/notification_area/libstatus-notifier-watcher')
-rw-r--r--applets/notification_area/libstatus-notifier-watcher/gf-sn-watcher-v0.h15
-rw-r--r--applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h15
2 files changed, 24 insertions, 6 deletions
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