]> git.eshelyaron.com Git - emacs.git/commit
Don't call xwidget functions until GTK has been initialized
authorRobert Pluim <rpluim@gmail.com>
Tue, 27 Nov 2018 08:39:30 +0000 (09:39 +0100)
committerRobert Pluim <rpluim@gmail.com>
Tue, 27 Nov 2018 08:41:59 +0000 (09:41 +0100)
commita291f624289bd2009b7fa230d62b5940e0484c83
treedf21d9b3189008676d61904c70e572411f72b946
parentf0531b8e64250414baf1c0d2dde3fbfc55a748a0
Don't call xwidget functions until GTK has been initialized

Follow up fix to Bug#33294.

* src/gtkutil.c: Define xg_gtk_initialized.
(xg_initialize): Set it when GTK has finished initializing.

* src/gtkutil.h: Declare xg_gtk_initialized.

* src/xwidget.c (Fmake_xwidget): Error out if GTK has not been
initialized.
(xwidget_init_view): Likewise.
src/gtkutil.c
src/gtkutil.h
src/xwidget.c