diff options
author | Colomban Wendling <[email protected]> | 2017-01-20 11:03:03 +0100 |
---|---|---|
committer | lukefromdc <[email protected]> | 2017-01-23 13:49:34 -0500 |
commit | da419c619744efc754e72df2e2101a32adca8a37 (patch) | |
tree | 37df54c88607741686a5e2a50a49b90811c021a2 /applets/notification_area/status-notifier/sn-item-v0.h | |
parent | 7d39b2e82f46777efa67224f078c1cec9e827654 (diff) | |
download | mate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.bz2 mate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.xz |
Lower GLib dependency
Diffstat (limited to 'applets/notification_area/status-notifier/sn-item-v0.h')
-rw-r--r-- | applets/notification_area/status-notifier/sn-item-v0.h | 15 |
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); |