summaryrefslogtreecommitdiff
path: root/applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h
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/gf-status-notifier-watcher.h
parent7d39b2e82f46777efa67224f078c1cec9e827654 (diff)
downloadmate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.bz2
mate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.xz
Lower GLib dependency
Diffstat (limited to 'applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h')
-rw-r--r--applets/notification_area/libstatus-notifier-watcher/gf-status-notifier-watcher.h15
1 files changed, 12 insertions, 3 deletions
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