gdk_pixmap_draw_pixbuf - gc may be NULL
This commit is contained in:
committed by
Alexander Larsson
parent
c7554a2c76
commit
51d4efd8d2
@ -478,6 +478,7 @@ gdk_pixmap_draw_pixbuf (GdkDrawable *drawable,
|
|||||||
{
|
{
|
||||||
GdkPixmapObject *private = (GdkPixmapObject *)drawable;
|
GdkPixmapObject *private = (GdkPixmapObject *)drawable;
|
||||||
|
|
||||||
|
if (gc)
|
||||||
_gdk_gc_remove_drawable_clip (gc);
|
_gdk_gc_remove_drawable_clip (gc);
|
||||||
gdk_draw_pixbuf (private->impl, gc, pixbuf,
|
gdk_draw_pixbuf (private->impl, gc, pixbuf,
|
||||||
src_x, src_y, dest_x, dest_y, width, height,
|
src_x, src_y, dest_x, dest_y, width, height,
|
||||||
|
|||||||
Reference in New Issue
Block a user