From 40e26ed6d0e9ef84522ad0723f630bd7d796beec Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 15 Oct 2016 15:39:12 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option --- src/ui/gradient.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/ui/gradient.h') diff --git a/src/ui/gradient.h b/src/ui/gradient.h index 7cbe8977..e40ba8eb 100644 --- a/src/ui/gradient.h +++ b/src/ui/gradient.h @@ -26,7 +26,6 @@ #include #include -#include typedef enum { @@ -36,7 +35,6 @@ typedef enum META_GRADIENT_LAST } MetaGradientType; -#if GTK_CHECK_VERSION (3, 0 ,0) GdkPixbuf* meta_gradient_create_simple (int width, int height, const GdkRGBA *from, @@ -53,25 +51,6 @@ GdkPixbuf* meta_gradient_create_interwoven (int width, int thickness1, const GdkRGBA colors2[2], int thickness2); -#else -GdkPixbuf* meta_gradient_create_simple (int width, - int height, - const GdkColor *from, - const GdkColor *to, - MetaGradientType style); -GdkPixbuf* meta_gradient_create_multi (int width, - int height, - const GdkColor *colors, - int n_colors, - MetaGradientType style); -GdkPixbuf* meta_gradient_create_interwoven (int width, - int height, - const GdkColor colors1[2], - int thickness1, - const GdkColor colors2[2], - int thickness2); -#endif - /* Generate an alpha gradient and multiply it with the existing alpha * channel of the given pixbuf -- cgit v1.2.1