changeset 31445:e898334364f7

Fix expose event drawing offset.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 08 Aug 2010 21:49:10 +0000
parents 93410d06cb51
children bcee814fc3a6
files pidgin/gtkwhiteboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkwhiteboard.c	Sun Aug 08 20:36:10 2010 +0000
+++ b/pidgin/gtkwhiteboard.c	Sun Aug 08 21:49:10 2010 +0000
@@ -383,7 +383,7 @@
 	cairo_t *cr;
 
 	cr = gdk_cairo_create(GDK_DRAWABLE(widget->window));
-	gdk_cairo_set_source_pixmap(cr, pixmap, event->area.x, event->area.y);
+	gdk_cairo_set_source_pixmap(cr, pixmap, 0, 0);
 	cairo_rectangle(cr,
 	                event->area.x, event->area.y,
 	                event->area.width, event->area.height);