summaryrefslogtreecommitdiff
path: root/applets/notification_area/na-tray.h
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/na-tray.h')
-rw-r--r--applets/notification_area/na-tray.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/applets/notification_area/na-tray.h b/applets/notification_area/na-tray.h
index 3e69ce6d..c3d3415e 100644
--- a/applets/notification_area/na-tray.h
+++ b/applets/notification_area/na-tray.h
@@ -65,10 +65,17 @@ void na_tray_set_padding (NaTray *tray,
void na_tray_set_icon_size (NaTray *tray,
gint icon_size);
void na_tray_set_colors (NaTray *tray,
+#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
void na_tray_force_redraw (NaTray *tray);
G_END_DECLS