summaryrefslogtreecommitdiff
path: root/src/gtkutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 03c404f86bb..f3e89c82c66 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1227,9 +1227,11 @@ xg_create_frame_widgets (struct frame *f)
a lot, so we turn off double buffering. */
gtk_widget_set_double_buffered (wfixed, FALSE);
+#if ! GTK_CHECK_VERSION (3, 22, 0)
gtk_window_set_wmclass (GTK_WINDOW (wtop),
SSDATA (Vx_resource_name),
SSDATA (Vx_resource_class));
+#endif
/* Add callback to do nothing on WM_DELETE_WINDOW. The default in
GTK is to destroy the widget. We want Emacs to do that instead. */