[gtk+/client-side-windows: 25/284] gdk_pixmap_draw_pixbuf - gc may be NULL
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 25/284] gdk_pixmap_draw_pixbuf - gc may be NULL
- Date: Thu, 2 Apr 2009 14:01:49 -0400 (EDT)
commit 51d4efd8d234179173ced6de0223136d87bad375
Author: Alexander Larsson <alexl redhat com>
Date: Thu Dec 4 22:15:56 2008 +0100
gdk_pixmap_draw_pixbuf - gc may be NULL
---
gdk/gdkpixmap.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c
index cb99cb7..be1d3a2 100644
--- a/gdk/gdkpixmap.c
+++ b/gdk/gdkpixmap.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]