gdk_pixmap_draw_pixbuf - gc may be NULL

This commit is contained in:
Alexander Larsson
2008-12-04 22:15:56 +01:00
committed by Alexander Larsson
parent c7554a2c76
commit 51d4efd8d2

View File

@ -478,7 +478,8 @@ gdk_pixmap_draw_pixbuf (GdkDrawable *drawable,
{
GdkPixmapObject *private = (GdkPixmapObject *)drawable;
_gdk_gc_remove_drawable_clip (gc);
if (gc)
_gdk_gc_remove_drawable_clip (gc);
gdk_draw_pixbuf (private->impl, gc, pixbuf,
src_x, src_y, dest_x, dest_y, width, height,
dither, x_dither, y_dither);