# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1045641650 0 # Node ID 11baf43efbc2ca15daa77aff4b28a2fb1346d849 # Parent 68158098a09241d502d82771c04ba3cc2b835219 Must call gdk_imlib_render() before gdk_imlib_copy_image(). diff -r 68158098a092 -r 11baf43efbc2 gtk/dw.c --- a/gtk/dw.c Wed Feb 19 07:41:50 2003 +0000 +++ b/gtk/dw.c Wed Feb 19 08:00:50 2003 +0000 @@ -5100,11 +5100,12 @@ g_object_unref(pixbuf); #elif defined(USE_IMLIB) image = gdk_imlib_load_image(file); - pixmap->pixmap = gdk_imlib_copy_image(image); pixmap->width = image->rgb_width; pixmap->height = image->rgb_height; + gdk_imlib_render(image, pixmap->width, pixmap->height); + pixmap->pixmap = gdk_imlib_copy_image(image); gdk_imlib_destroy_image(image); #else pixmap->pixmap = gdk_pixmap_create_from_xpm(handle->window, &bitmap, &_colors[DW_CLR_PALEGRAY], file);