summaryrefslogtreecommitdiff
path: root/src/ui/tile-preview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tile-preview.c')
-rw-r--r--src/ui/tile-preview.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ui/tile-preview.c b/src/ui/tile-preview.c
index 6b3544ce..d5a68846 100644
--- a/src/ui/tile-preview.c
+++ b/src/ui/tile-preview.c
@@ -29,10 +29,6 @@
#include "tile-preview.h"
#include "core.h"
-#if GTK_CHECK_VERSION (3, 0, 0)
-#define GDK_WINDOW_XWINDOW GDK_WINDOW_XID
-#endif
-
#define OUTLINE_WIDTH 5 /* frame width in non-composite case */
@@ -237,7 +233,7 @@ meta_tile_preview_show (MetaTilePreview *preview,
#else
meta_core_lower_beneath_focus_window (gdk_display,
#endif
- GDK_WINDOW_XWINDOW (window),
+ GDK_WINDOW_XID (window),
gtk_get_current_event_time ());
old_rect.x = old_rect.y = 0;