summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 172e4607694..769a852e733 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1586,6 +1586,9 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
init_bignum ();
init_threads ();
init_eval ();
+#ifdef HAVE_PGTK
+ init_pgtkterm (); /* before init_atimer(). */
+#endif
init_atimer ();
running_asynch_code = 0;
init_random ();
@@ -1914,6 +1917,14 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
syms_of_nsselect ();
syms_of_fontset ();
#endif /* HAVE_NS */
+#ifdef HAVE_PGTK
+ syms_of_pgtkterm();
+ syms_of_pgtkfns();
+ syms_of_pgtkselect ();
+ syms_of_fontset ();
+ syms_of_xsettings ();
+ syms_of_xwidget ();
+#endif
syms_of_gnutls ();
@@ -1982,9 +1993,11 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
#ifdef HAVE_DBUS
init_dbusbind ();
#endif
-#ifdef USE_GTK
+#if defined(USE_GTK)
+#ifndef 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