gracefully handle a NULL config until we have fixed creation of color

2005-06-27  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): gracefully
	handle a NULL config until we have fixed creation of color display
	modules so that they always have a reference to GimpColorConfig.
This commit is contained in:
Sven Neumann 2005-06-27 09:44:32 +00:00 committed by Sven Neumann
parent 7215e14c34
commit 43bdd4144a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2005-06-27 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c (cdisplay_lcms_configure): gracefully
handle a NULL config until we have fixed creation of color display
modules so that they always have a reference to GimpColorConfig.
2005-06-27 Sven Neumann <sven@gimp.org> 2005-06-27 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcolordisplayeditor.c: dialog layout tweaks. * app/widgets/gimpcolordisplayeditor.c: dialog layout tweaks.

View File

@ -271,6 +271,9 @@ cdisplay_lcms_configure (GimpColorDisplay *display)
const gchar *info; const gchar *info;
gint row = 0; gint row = 0;
if (! config)
return NULL;
vbox = gtk_vbox_new (FALSE, 12); vbox = gtk_vbox_new (FALSE, 12);
hbox = gtk_hbox_new (FALSE, 12); hbox = gtk_hbox_new (FALSE, 12);