gdk_pixmap_draw_pixbuf - gc may be NULL
This commit is contained in:
		 Alexander Larsson
					Alexander Larsson
				
			
				
					committed by
					
						 Alexander Larsson
						Alexander Larsson
					
				
			
			
				
	
			
			
			 Alexander Larsson
						Alexander Larsson
					
				
			
						parent
						
							c7554a2c76
						
					
				
				
					commit
					51d4efd8d2
				
			| @ -478,7 +478,8 @@ gdk_pixmap_draw_pixbuf (GdkDrawable     *drawable, | |||||||
| { | { | ||||||
|   GdkPixmapObject *private = (GdkPixmapObject *)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, |   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, | ||||||
| 		   dither, x_dither, y_dither); | 		   dither, x_dither, y_dither); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user