summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-11-23 22:49:03 +0900
committerYuuki Harano <masm+github@masm11.me>2021-11-23 22:49:03 +0900
commitbc53310aaf1a2b71c1476ae1fffb1b137fb8d617 (patch)
treec77886e5e89914283f15a91abe709dbb7384ead8 /src/emacs.c
parentb22323c3b66feb3c9c0f3086cc784fab9578ff7b (diff)
downloademacs-bc53310aaf1a2b71c1476ae1fffb1b137fb8d617.tar.gz
emacs-bc53310aaf1a2b71c1476ae1fffb1b137fb8d617.tar.bz2
emacs-bc53310aaf1a2b71c1476ae1fffb1b137fb8d617.zip
* src/emacs.c (main): Combine two conditions to one
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