summaryrefslogtreecommitdiff
path: root/applets/notification_area/na-tray.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area/na-tray.c')
-rw-r--r--applets/notification_area/na-tray.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/applets/notification_area/na-tray.c b/applets/notification_area/na-tray.c
index 0232983b..9db9703b 100644
--- a/applets/notification_area/na-tray.c
+++ b/applets/notification_area/na-tray.c
@@ -922,10 +922,17 @@ na_tray_set_icon_size (NaTray *tray,
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
{
NaTrayPrivate *priv = tray->priv;