Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
284:3431e445d831 | 285:ef34ebf8b7cb |
---|---|
4368 _PixmapArray[found].pixmap = gdk_imlib_copy_image(image); | 4368 _PixmapArray[found].pixmap = gdk_imlib_copy_image(image); |
4369 _PixmapArray[found].mask = gdk_imlib_copy_mask(image); | 4369 _PixmapArray[found].mask = gdk_imlib_copy_mask(image); |
4370 gdk_imlib_destroy_image(image); | 4370 gdk_imlib_destroy_image(image); |
4371 } | 4371 } |
4372 #else | 4372 #else |
4373 _PixmapArray[found].pixmap = gdk_pixmap_create_from_xpm(handle->window, &_PixmapArray[found].mask, &_colors[DW_CLR_PALEGRAY], file); | 4373 _PixmapArray[found].pixmap = gdk_pixmap_create_from_xpm(last_window->window, &_PixmapArray[found].mask, &_colors[DW_CLR_PALEGRAY], file); |
4374 #endif | 4374 #endif |
4375 DW_MUTEX_UNLOCK; | 4375 DW_MUTEX_UNLOCK; |
4376 if(!_PixmapArray[found].pixmap || !_PixmapArray[found].mask) | 4376 if(!_PixmapArray[found].pixmap || !_PixmapArray[found].mask) |
4377 { | 4377 { |
4378 _PixmapArray[found].used = 0; | 4378 _PixmapArray[found].used = 0; |