comparison pidgin/gtkwhiteboard.c @ 26817:3912f55a1633

propagate from branch 'im.pidgin.pidgin' (head fbb4fe5da444943eecc76bdcd6c8ba967790b6c8) to branch 'im.pidgin.cpw.darkrain42.xmpp.bosh' (head 601bc627c9430320848361f0ed81c6c4c6ee53e0)
author Paul Aurich <paul@darkrain42.org>
date Tue, 28 Apr 2009 18:43:57 +0000
parents a3f7ade9e45b
children 58c8d6fc3aaf
comparison
equal deleted inserted replaced
26743:de9816c970fe 26817:3912f55a1633
622 622
623 gtk_widget_queue_draw_area(widget, 623 gtk_widget_queue_draw_area(widget,
624 update_rect.x, update_rect.y, 624 update_rect.x, update_rect.y,
625 update_rect.width, update_rect.height); 625 update_rect.width, update_rect.height);
626 626
627 gdk_gc_unref(gfx_con); 627 g_object_unref(G_OBJECT(gfx_con));
628 } 628 }
629 629
630 /* Uses Bresenham's algorithm (as provided by Wikipedia) */ 630 /* Uses Bresenham's algorithm (as provided by Wikipedia) */
631 static void pidgin_whiteboard_draw_brush_line(PurpleWhiteboard *wb, int x0, int y0, int x1, int y1, int color, int size) 631 static void pidgin_whiteboard_draw_brush_line(PurpleWhiteboard *wb, int x0, int y0, int x1, int y1, int color, int size)
632 { 632 {