From d0ddaedffa7d417a699cafce73c1e418515c4a28 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 21 Nov 2016 21:14:26 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require libmate-desktop >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it. --- mate-panel/libpanel-util/panel-color.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mate-panel/libpanel-util/panel-color.c') diff --git a/mate-panel/libpanel-util/panel-color.c b/mate-panel/libpanel-util/panel-color.c index 9ac198a8..864d68d8 100644 --- a/mate-panel/libpanel-util/panel-color.c +++ b/mate-panel/libpanel-util/panel-color.c @@ -1,6 +1,5 @@ #include "panel-color.h" -#if GTK_CHECK_VERSION (3, 0, 0) /** * rgb_to_hls: * @r: on input, red; on output, hue @@ -197,7 +196,3 @@ gtk_style_shade (GdkRGBA *a, GdkRGBA *b, gdouble k) b->green = green; b->blue = blue; } -#else - -#endif - -- cgit v1.2.1