summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-image-menu-item.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/status-notifier/sn-image-menu-item.h
parent7d39b2e82f46777efa67224f078c1cec9e827654 (diff)
downloadmate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.bz2
mate-panel-da419c619744efc754e72df2e2101a32adca8a37.tar.xz
Lower GLib dependency
Diffstat (limited to 'applets/notification_area/status-notifier/sn-image-menu-item.h')
-rw-r--r--applets/notification_area/status-notifier/sn-image-menu-item.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/applets/notification_area/status-notifier/sn-image-menu-item.h b/applets/notification_area/status-notifier/sn-image-menu-item.h
index b0fe8a90..9aa9a4a1 100644
--- a/applets/notification_area/status-notifier/sn-image-menu-item.h
+++ b/applets/notification_area/status-notifier/sn-image-menu-item.h
@@ -22,9 +22,19 @@
G_BEGIN_DECLS
-#define SN_TYPE_IMAGE_MENU_ITEM sn_image_menu_item_get_type ()
-G_DECLARE_FINAL_TYPE (SnImageMenuItem, sn_image_menu_item,
- SN, IMAGE_MENU_ITEM, GtkMenuItem)
+#define SN_TYPE_IMAGE_MENU_ITEM (sn_image_menu_item_get_type ())
+#define SN_IMAGE_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SN_TYPE_IMAGE_MENU_ITEM, SnImageMenuItem))
+#define SN_IS_IMAGE_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SN_TYPE_IMAGE_MENU_ITEM))
+
+typedef struct _SnImageMenuItem SnImageMenuItem;
+typedef struct _SnImageMenuItemClass SnImageMenuItemClass;
+
+struct _SnImageMenuItemClass
+{
+ GtkMenuItemClass parent_class;
+};
+
+GType sn_image_menu_item_get_type (void);
GtkWidget *sn_image_menu_item_new (void);