summaryrefslogtreecommitdiff
path: root/applets/notification_area/na-tray-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/na-tray-manager.h')
-rw-r--r--applets/notification_area/na-tray-manager.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/applets/notification_area/na-tray-manager.h b/applets/notification_area/na-tray-manager.h
index a461510b..d1d585fe 100644
--- a/applets/notification_area/na-tray-manager.h
+++ b/applets/notification_area/na-tray-manager.h
@@ -60,10 +60,17 @@ struct _NaTrayManager
GtkOrientation orientation;
gint padding;
gint icon_size;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GdkRGBA fg;
+ GdkRGBA error;
+ GdkRGBA warning;
+ GdkRGBA success;
+#else
GdkColor fg;
GdkColor error;
GdkColor warning;
GdkColor success;
+#endif
GList *messages;
GHashTable *socket_table;
@@ -105,10 +112,17 @@ void na_tray_manager_set_padding (NaTrayManager *manager,
void na_tray_manager_set_icon_size (NaTrayManager *manager,
gint padding);
void na_tray_manager_set_colors (NaTrayManager *manager,
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GdkRGBA *fg,
+ GdkRGBA *error,
+ GdkRGBA *warning,
+ GdkRGBA *success);
+#else
GdkColor *fg,
GdkColor *error,
GdkColor *warning,
GdkColor *success);
+#endif
G_END_DECLS