aboutsummaryrefslogtreecommitdiff
path: root/src/notification-menuitem.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-11-11 23:20:01 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-11-11 23:20:01 +0100
commitf34109bd521020e8a1fb900177c43796b5f6f3ca (patch)
tree558d0879ddc9318f7e9c0bb7362fd7f086fa29f0 /src/notification-menuitem.h
parentf872e9097ff373a172119bd3f7e9d0ef84b31ce1 (diff)
parentf9a39b44803e6347c72c1edd8ba46f633e99dd57 (diff)
downloadayatana-indicator-notifications-f34109bd521020e8a1fb900177c43796b5f6f3ca.tar.gz
ayatana-indicator-notifications-f34109bd521020e8a1fb900177c43796b5f6f3ca.tar.bz2
ayatana-indicator-notifications-f34109bd521020e8a1fb900177c43796b5f6f3ca.zip
Merge branch 'tari01-pr/system-indicator-rewrite'
Attributes GH PR #13: https://github.com/AyatanaIndicators/ayatana-indicator-notifications/pull/13
Diffstat (limited to 'src/notification-menuitem.h')
-rw-r--r--src/notification-menuitem.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/notification-menuitem.h b/src/notification-menuitem.h
deleted file mode 100644
index afb2b98..0000000
--- a/src/notification-menuitem.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * notification-menuitem.h - A menuitem to display notifications.
- */
-
-#ifndef __NOTIFICATION_MENUITEM_H__
-#define __NOTIFICATION_MENUITEM_H__
-
-#include <gtk/gtk.h>
-#include "notification.h"
-
-G_BEGIN_DECLS
-
-#define NOTIFICATION_MENUITEM_TYPE (notification_menuitem_get_type ())
-#define NOTIFICATION_MENUITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NOTIFICATION_MENUITEM_TYPE, NotificationMenuItem))
-#define NOTIFICATION_MENUITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NOTIFICATION_MENUITEM_TYPE, NotificationMenuItemClass))
-#define IS_NOTIFICATION_MENUITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NOTIFICATION_MENUITEM_TYPE))
-#define IS_NOTIFICATION_MENUITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NOTIFICATION_MENUITEM_TYPE))
-
-typedef struct _NotificationMenuItem NotificationMenuItem;
-typedef struct _NotificationMenuItemClass NotificationMenuItemClass;
-typedef struct _NotificationMenuItemPrivate NotificationMenuItemPrivate;
-
-struct _NotificationMenuItem
-{
- GtkMenuItem parent_instance;
- NotificationMenuItemPrivate *priv;
-};
-
-struct _NotificationMenuItemClass
-{
- GtkMenuItemClass parent_class;
-
- void (* clicked) (NotificationMenuItem *menuitem, guint button);
-};
-
-struct _NotificationMenuItemPrivate {
- GtkWidget *close_image;
- GtkWidget *hbox;
- GtkWidget *label;
-
- gboolean pressed_close_image;
-};
-
-#define NOTIFICATION_MENUITEM_SIGNAL_CLICKED "clicked"
-
-GType notification_menuitem_get_type(void);
-GtkWidget *notification_menuitem_new(void);
-void notification_menuitem_set_from_notification(NotificationMenuItem *self, Notification *note);
-
-G_END_DECLS
-
-#endif /* __NOTIFICATION_MENUITEM_H__ */