summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 790740deb1a..adac8fc38ab 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2287,11 +2287,9 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
#ifdef HAVE_DBUS
init_dbusbind ();
#endif
-#ifdef USE_GTK
-#ifndef HAVE_PGTK
+#if defined(USE_GTK) && !defined(HAVE_PGTK)
init_xterm ();
#endif
-#endif
/* This can create a thread that may call getenv, so it must follow
all calls to putenv and setenv. Also, this sets up