pidgin/gtkwhiteboard.c

changeset 26820
76f90ca8f6f2
parent 25888
d0fdd378a635
child 28137
e9ba2df9038c
equal deleted inserted replaced
26819:9aa978699dbc 26820:76f90ca8f6f2
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 {

mercurial