Gimp/app/gui
Michael Natterer cdb165874f if the active display becomes NULL (e.g. by closing a view), don't leave
2004-11-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/gui.c (gui_display_changed): if the active display
	becomes NULL (e.g. by closing a view), don't leave the user
	context with an image but no display. Instead, try to find another
	display of the same image instead and if that fails set the image
	to NULL.

	Prevents the various foo_actions_update() functions from being
	called with a NULL display while there is still an active image in
	the context.

	Fixes bug #159304.

	(Removed #warning about being misplaced from that function because
	it's a typical piece of ugly glue code that belongs exactly here).
2004-11-24 16:41:52 +00:00
..
.cvsignore
color-history.c app/gui/color-history.[ch] app/gui/gui.c moved the color history out of 2003-11-13 15:25:38 +00:00
color-history.h app/gui/color-history.[ch] app/gui/gui.c moved the color history out of 2003-11-13 15:25:38 +00:00
gui-types.h configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gui-vtable.c The following fixes have no visible effect because nobody uses 2004-11-18 01:57:13 +00:00
gui-vtable.h Cleaned up the app init and exit stuff even more. Also reduces the number 2003-10-02 11:26:26 +00:00
gui.c if the active display becomes NULL (e.g. by closing a view), don't leave 2004-11-24 16:41:52 +00:00
gui.h app/Makefile.am new files implementing sanity_check() for run-time 2004-03-30 11:32:21 +00:00
Makefile.am configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
makefile.msc [new file] app/dialogs/Makefile.am : added to EXTRA_DIST 2004-11-21 14:22:45 +00:00
session.c Enabled the various "Clear saved foobar now" buttons in prefs: 2004-07-21 16:11:31 +00:00
session.h Enabled the various "Clear saved foobar now" buttons in prefs: 2004-07-21 16:11:31 +00:00
splash.c Don't necessarily use black and white but a reasonably contrasted gray value. 2004-11-11 22:23:31 +00:00
splash.h splash image for GIMP 2.0 by Jimmac. 2004-03-15 00:17:21 +00:00
themes.c Fix undefined behaviour. Fixes crash in bringing up the Preferences dialog 2004-01-21 12:03:26 +00:00
themes.h new utility function which takes a filename relative to the theme's root 2003-11-15 17:53:18 +00:00