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/include/ui.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/include/ui.h') 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 #include #include -#include #include +#include /* 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" -- cgit v1.2.1