mirror of https://github.com/GNOME/gimp.git
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:
parent
7215e14c34
commit
43bdd4144a
|
@ -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>
|
||||
|
||||
* app/widgets/gimpcolordisplayeditor.c: dialog layout tweaks.
|
||||
|
|
|
@ -271,6 +271,9 @@ cdisplay_lcms_configure (GimpColorDisplay *display)
|
|||
const gchar *info;
|
||||
gint row = 0;
|
||||
|
||||
if (! config)
|
||||
return NULL;
|
||||
|
||||
vbox = gtk_vbox_new (FALSE, 12);
|
||||
|
||||
hbox = gtk_hbox_new (FALSE, 12);
|
||||
|
|
Loading…
Reference in New Issue