• Robert Pluim's avatar
    Don't call xwidget functions until GTK has been initialized · a291f624
    Robert Pluim authored
    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.
    a291f624
xwidget.c 37.6 KB