From 9081a2ee5cb1e173bfbd191e9630b11be299d081 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Thu, 11 Feb 2016 07:45:16 +0100 Subject: GTK+3 notification-area: don't use deprecated GdkColor Taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=d1dd54e --- applets/notification_area/na-tray.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'applets/notification_area/na-tray.c') 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; -- cgit v1.2.1