aboutsummaryrefslogtreecommitdiff
path: root/src/notification.h
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-05-13 14:34:34 -0400
committerJason Conti <jason.conti@gmail.com>2011-05-13 14:34:34 -0400
commit9c9ceb681c943447178c66fafb0fe825db3fd25d (patch)
treed9fbf8d6de07d3adff4760982ff74f835e92cd56 /src/notification.h
parentc64309f5a4bcbc62d4ab5810735be97e7abcf335 (diff)
downloadayatana-indicator-notifications-9c9ceb681c943447178c66fafb0fe825db3fd25d.tar.gz
ayatana-indicator-notifications-9c9ceb681c943447178c66fafb0fe825db3fd25d.tar.bz2
ayatana-indicator-notifications-9c9ceb681c943447178c66fafb0fe825db3fd25d.zip
Integrated the dbus-spy. Menu items for notification summaries are appended as they arrive.
Diffstat (limited to 'src/notification.h')
-rw-r--r--src/notification.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/notification.h b/src/notification.h
index d31a76d..a11036f 100644
--- a/src/notification.h
+++ b/src/notification.h
@@ -33,16 +33,16 @@ struct _NotificationClass
};
struct _NotificationPrivate {
- gchar *app_name;
- gsize app_name_length;
- guint32 replaces_id;
- gchar *app_icon;
- gsize app_icon_length;
- gchar *summary;
- gsize summary_length;
- gchar *body;
- gsize body_length;
- gint expire_timeout;
+ gchar *app_name;
+ gsize app_name_length;
+ guint32 replaces_id;
+ gchar *app_icon;
+ gsize app_icon_length;
+ gchar *summary;
+ gsize summary_length;
+ gchar *body;
+ gsize body_length;
+ gint expire_timeout;
};
#define NOTIFICATION_GET_PRIVATE(o) \
@@ -51,10 +51,10 @@ struct _NotificationPrivate {
GType notification_get_type(void);
Notification *notification_new(void);
Notification *notification_new_from_dbus_message(GDBusMessage *);
-gchar *notification_get_app_name(Notification *);
-gchar *notification_get_app_icon(Notification *);
-gchar *notification_get_summary(Notification *);
-gchar *notification_get_body(Notification *);
+const gchar *notification_get_app_name(Notification *);
+const gchar *notification_get_app_icon(Notification *);
+const gchar *notification_get_summary(Notification *);
+const gchar *notification_get_body(Notification *);
void notification_print(Notification *);
G_END_DECLS