summaryrefslogtreecommitdiff
path: root/src/ui/gradient.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-15 15:39:12 +0300
committermonsta <[email protected]>2016-10-15 15:39:12 +0300
commit40e26ed6d0e9ef84522ad0723f630bd7d796beec (patch)
tree67374984e9b7d2c60525976a008889775f7de4f3 /src/ui/gradient.h
parent3b69fd200912e27ce64caf3bf5d4338aab73177b (diff)
downloadmarco-40e26ed6d0e9ef84522ad0723f630bd7d796beec.tar.bz2
marco-40e26ed6d0e9ef84522ad0723f630bd7d796beec.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'src/ui/gradient.h')
-rw-r--r--src/ui/gradient.h21
1 files changed, 0 insertions, 21 deletions
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 <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
-#include <gtk/gtk.h>
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