Use gimp_display_get_image() instead of display->image

This commit is contained in:
Michael Natterer
2009-10-06 19:20:44 +02:00
parent bf41a773cb
commit c5b856f16f
73 changed files with 536 additions and 393 deletions

View File

@ -289,7 +289,7 @@ gui_get_empty_display (Gimp *gimp)
{
display = gimp_container_get_first_child (gimp->displays);
if (GIMP_DISPLAY (display)->image)
if (gimp_display_get_image (GIMP_DISPLAY (display)))
{
/* The display was not empty */
display = NULL;