mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Add assert for creating pixmap for GTK thumbnails, and a LOG of what it tried to do.
svn path=/trunk/netsurf/; revision=4001
This commit is contained in:
parent
dfd26a6ca8
commit
10aa5ae2f4
@ -54,8 +54,12 @@ bool thumbnail_create(struct content *content, struct bitmap *bitmap,
|
||||
GdkPixmap *pixmap = gdk_pixmap_new(NULL, content->width, content->width, depth);
|
||||
GdkPixbuf *big;
|
||||
|
||||
LOG(("Trying to create a thumbnail pixmap for a content of %dx%d@%d",
|
||||
content->width, content->width, depth));
|
||||
|
||||
assert(content);
|
||||
assert(bitmap);
|
||||
assert(pixmap);
|
||||
|
||||
gdk_drawable_set_colormap(pixmap, gdk_colormap_get_system());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user