summaryrefslogtreecommitdiff
path: root/helper-dialog
diff options
context:
space:
mode:
authorDridi Boukelmoune <dridi@fedoraproject.org>2020-12-16 16:54:30 +0100
committerDridi Boukelmoune <dridi@fedoraproject.org>2020-12-16 16:54:30 +0100
commite4f9cdc0d97086a5f5e393859b83c66a7b8428a9 (patch)
tree94ff62b9db46ac709eda49c58fd4f9523af70471 /helper-dialog
parentbe5bfa2d2a3fefe9e64f8300c2b31833e581d166 (diff)
downloadxfwm4-e4f9cdc0d97086a5f5e393859b83c66a7b8428a9.tar.gz
build: Increase GTK+ requirement to 3.22
Since 4.14 this is the minimum version for all of Xfce, which allows to remove a bunch of dead code. Refs !3 Signed-off-by: Dridi Boukelmoune <dridi@fedoraproject.org>
Diffstat (limited to 'helper-dialog')
-rw-r--r--helper-dialog/helper-dialog.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/helper-dialog/helper-dialog.c b/helper-dialog/helper-dialog.c
index f4e254ae6..27b2f2114 100644
--- a/helper-dialog/helper-dialog.c
+++ b/helper-dialog/helper-dialog.c
@@ -40,19 +40,11 @@ on_realize (GtkWidget *dialog,
Window xid;
xid = (Window) GPOINTER_TO_INT (data);
-#if GTK_CHECK_VERSION(3, 22, 0)
gdk_x11_display_error_trap_push (gtk_widget_get_display (dialog));
-#else
- gdk_error_trap_push ();
-#endif
XSetTransientForHint (gdk_x11_get_default_xdisplay (),
GDK_WINDOW_XID (gtk_widget_get_window (dialog)),
xid);
-#if GTK_CHECK_VERSION(3, 22, 0)
gdk_x11_display_error_trap_pop_ignored (gtk_widget_get_display (dialog));
-#else
- gdk_error_trap_pop_ignored ();
-#endif
}
int