diff options
author | monsta <[email protected]> | 2016-10-15 15:39:12 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-10-15 15:39:12 +0300 |
commit | 40e26ed6d0e9ef84522ad0723f630bd7d796beec (patch) | |
tree | 67374984e9b7d2c60525976a008889775f7de4f3 /src/include/compositor.h | |
parent | 3b69fd200912e27ce64caf3bf5d4338aab73177b (diff) | |
download | marco-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/include/compositor.h')
-rw-r--r-- | src/include/compositor.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/include/compositor.h b/src/include/compositor.h index 0eebe569..7ff380ad 100644 --- a/src/include/compositor.h +++ b/src/include/compositor.h @@ -23,8 +23,8 @@ #define META_COMPOSITOR_H #include <glib.h> -#include <gtk/gtk.h> #include <X11/Xlib.h> +#include <cairo/cairo.h> #include "types.h" #include "boxes.h" @@ -51,13 +51,8 @@ void meta_compositor_set_updates (MetaCompositor *compositor, void meta_compositor_process_event (MetaCompositor *compositor, XEvent *event, MetaWindow *window); -#if GTK_CHECK_VERSION (3, 0, 0) cairo_surface_t *meta_compositor_get_window_surface (MetaCompositor *compositor, MetaWindow *window); -#else -Pixmap meta_compositor_get_window_pixmap (MetaCompositor *compositor, - MetaWindow *window); -#endif void meta_compositor_set_active_window (MetaCompositor *compositor, MetaScreen *screen, MetaWindow *window); |