summaryrefslogtreecommitdiff
path: root/src/include/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ui.h')
-rw-r--r--src/include/ui.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/ui.h b/src/include/ui.h
index 4705eda2..fc7b6b0a 100644
--- a/src/include/ui.h
+++ b/src/include/ui.h
@@ -29,8 +29,8 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <glib.h>
-#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <cairo/cairo.h>
/* This is between GTK_PRIORITY_RESIZE (+10) and GDK_PRIORITY_REDRAW (+20) */
#define META_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 15)
@@ -177,11 +177,7 @@ int meta_ui_get_drag_threshold (MetaUI *ui);
MetaUIDirection meta_ui_get_direction (void);
-#if GTK_CHECK_VERSION (3, 0, 0)
GdkPixbuf *meta_ui_get_pixbuf_from_surface (cairo_surface_t *surface);
-#else
-GdkPixbuf *meta_ui_get_pixbuf_from_pixmap (Pixmap pmap);
-#endif
#include "tabpopup.h"
#include "tile-preview.h"