Mercurial > dwindows
diff gtk/dw.c @ 285:ef34ebf8b7cb
Fix compiler error when not using IMLIB.
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 19 Mar 2003 09:14:45 +0000 |
parents | 54aafc134652 |
children | d2392cf845e4 |
line wrap: on
line diff
--- a/gtk/dw.c Mon Mar 17 15:38:57 2003 +0000 +++ b/gtk/dw.c Wed Mar 19 09:14:45 2003 +0000 @@ -4370,7 +4370,7 @@ gdk_imlib_destroy_image(image); } #else - _PixmapArray[found].pixmap = gdk_pixmap_create_from_xpm(handle->window, &_PixmapArray[found].mask, &_colors[DW_CLR_PALEGRAY], file); + _PixmapArray[found].pixmap = gdk_pixmap_create_from_xpm(last_window->window, &_PixmapArray[found].mask, &_colors[DW_CLR_PALEGRAY], file); #endif DW_MUTEX_UNLOCK; if(!_PixmapArray[found].pixmap || !_PixmapArray[found].mask)