From e670e05cb08c66da2838abe2608cfccb8b09fafd Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 17 May 2016 14:08:57 +0300 Subject: require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build option --- mate-session/test-inhibit.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mate-session/test-inhibit.c') diff --git a/mate-session/test-inhibit.c b/mate-session/test-inhibit.c index fdc0744..45771e0 100644 --- a/mate-session/test-inhibit.c +++ b/mate-session/test-inhibit.c @@ -93,11 +93,7 @@ do_inhibit_for_window (GdkWindow *window) app_id = "caja"; reason = "A file transfer is in progress."; #endif -#if GTK_CHECK_VERSION (3, 0, 0) toplevel_xid = gdk_x11_window_get_xid (window); -#else - toplevel_xid = GDK_DRAWABLE_XID (window); -#endif flags = GSM_INHIBITOR_FLAG_LOGOUT | GSM_INHIBITOR_FLAG_SWITCH_USER -- cgit v1.2.1