added a sanity check which might help to catch the problem reported in bug
2008-02-27 Sven Neumann <sven@gimp.org> * app/gui/gui-vtable.c (gui_display_create): added a sanity check which might help to catch the problem reported in bug #518905. svn path=/trunk/; revision=24989
This commit is contained in:

committed by
Sven Neumann

parent
682c55451c
commit
2d84043df2
@ -1,3 +1,8 @@
|
||||
2008-02-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/gui/gui-vtable.c (gui_display_create): added a sanity check
|
||||
which might help to catch the problem reported in bug #518905.
|
||||
|
||||
2008-02-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/Makefile.am (gimp_2_5_LDFLAGS): don't assume that global
|
||||
|
@ -285,6 +285,8 @@ gui_display_create (GimpImage *image,
|
||||
|
||||
image_managers = gimp_ui_managers_from_name ("<Image>");
|
||||
|
||||
g_return_val_if_fail (image_managers != NULL, NULL);
|
||||
|
||||
display = gimp_display_new (image, unit, scale,
|
||||
global_menu_factory,
|
||||
image_managers->data);
|
||||
|
Reference in New Issue
Block a user