mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
14098dc0eb
2001-11-17 Michael Natterer <mitch@gimp.org> Made --no-interface not calling gtk_init() (and thus not contacting the X server) any more. (Fixes #58961). * app/core/gimp.[ch]: added two new function pointers "gui_main_loop_func" and "gui_main_loop_quit_func" and an own stack of GMainLoops which is used if they are not set. * app/gui/gui.[ch]: added main loop functions here and set them as pointers in the Gimp instance. Separated gui_libs_init() from gui_themes_init() so it can be used as replacement for gtk_init() and be called before command line parsing. * app/main.c: check for "--no-interface" before initializing anything. Added a "--g-fatal-warnings" option (cut'n'paste from gtkmain.c). Added a check for "--" (end of options). * app/app_procs.c: call the new gimp_main_loop() functions, call gui_themes_init(). * app/devices.[ch]: reduce usage of "the_gimp" by passing "Gimp" pointers to some functions. * app/plug_in.c: some ugly checks for the_gimp->no_interface which will go away once this file is core/ui chopped. Call gimp_main_loop() stuff instead of gtk_main(). * app/core/gimptoolinfo.c: allow passing a NUL GdkPixbuf pointer. |
||
---|---|---|
.. | ||
.cvsignore | ||
gimpplugin-message.c | ||
gimpplugin-progress.c | ||
gimpplugin-progress.h | ||
gimpplugin.c | ||
gimpplugin.h | ||
gimppluginmanager-call.c | ||
gimppluginmanager-run.c | ||
gimppluginmanager.c | ||
gimppluginmanager.h | ||
gimppluginshm.c | ||
Makefile.am | ||
plug-in-def.c | ||
plug-in-def.h | ||
plug-in-message.c | ||
plug-in-params.c | ||
plug-in-params.h | ||
plug-in-progress.c | ||
plug-in-progress.h | ||
plug-in-run.c | ||
plug-in-shm.c | ||
plug-in-types.h | ||
plug-in.c | ||
plug-in.h | ||
plug-ins.c | ||
plug-ins.h |