comparison gtk/dw.c @ 246:bdaaa06285fd

Missing parameter to gdk_pixmap_new_from_file() for GTK 2.0.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 19 Feb 2003 08:28:00 +0000
parents 11baf43efbc2
children 5a594058687f
comparison
equal deleted inserted replaced
245:11baf43efbc2 246:bdaaa06285fd
5089 } 5089 }
5090 } 5090 }
5091 5091
5092 DW_MUTEX_LOCK; 5092 DW_MUTEX_LOCK;
5093 #if GTK_MAJOR_VERSION > 1 5093 #if GTK_MAJOR_VERSION > 1
5094 pixbuf = gdk_pixbuf_new_from_file(file); 5094 pixbuf = gdk_pixbuf_new_from_file(file, NULL);
5095 5095
5096 pixmap->width = gdk_pixbuf_get_width(pixbuf); 5096 pixmap->width = gdk_pixbuf_get_width(pixbuf);
5097 pixmap->height = gdk_pixbuf_get_height(pixbuf); 5097 pixmap->height = gdk_pixbuf_get_height(pixbuf);
5098 5098
5099 gdk_pixbuf_render_pixmap_and_mask(pixbuf, &pixmap->pixmap, &bitmap, 1); 5099 gdk_pixbuf_render_pixmap_and_mask(pixbuf, &pixmap->pixmap, &bitmap, 1);