aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-17 21:53:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:02 +0800
commit3e97227202f38a8cf44732abbb5bf708c12072ef (patch)
tree485018616c03c2cd15b48f3f5a3ffee8deed90eb /libgnomecanvas/gnome-canvas.h
parent186100f9afd831bb783f199b044b5051b1cb10bf (diff)
downloadgsoc2013-evolution-3e97227202f38a8cf44732abbb5bf708c12072ef.tar
gsoc2013-evolution-3e97227202f38a8cf44732abbb5bf708c12072ef.tar.gz
gsoc2013-evolution-3e97227202f38a8cf44732abbb5bf708c12072ef.tar.bz2
gsoc2013-evolution-3e97227202f38a8cf44732abbb5bf708c12072ef.tar.lz
gsoc2013-evolution-3e97227202f38a8cf44732abbb5bf708c12072ef.tar.xz
gsoc2013-evolution-3e97227202f38a8cf44732abbb5bf708c12072ef.tar.zst
gsoc2013-evolution-3e97227202f38a8cf44732abbb5bf708c12072ef.zip
gnome-canvas: Simplify updating code
Instead of keeping oour own invalid area, trust GDK to do the right thing.
Diffstat (limited to 'libgnomecanvas/gnome-canvas.h')
-rw-r--r--libgnomecanvas/gnome-canvas.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h
index b940f67748..5ef653aa67 100644
--- a/libgnomecanvas/gnome-canvas.h
+++ b/libgnomecanvas/gnome-canvas.h
@@ -39,10 +39,6 @@
#include <gtk/gtk.h>
#include <stdarg.h>
-#include <libart_lgpl/art_misc.h>
-#include <libart_lgpl/art_rect.h>
-#include <libart_lgpl/art_svp.h>
-#include <libart_lgpl/art_uta.h>
G_BEGIN_DECLS
@@ -358,9 +354,6 @@ struct _GnomeCanvas {
/* Root canvas group */
GnomeCanvasItem *root;
- /* Area that needs redrawing, stored as a microtile array */
- ArtUta *redraw_area;
-
/* The item containing the mouse pointer, or NULL if none */
GnomeCanvasItem *current_item;
@@ -415,9 +408,6 @@ struct _GnomeCanvas {
/* Whether items need update at next idle loop iteration */
guint need_update : 1;
- /* Whether the canvas needs redrawing at the next idle loop iteration */
- guint need_redraw : 1;
-
/* Whether current item will be repicked at next idle loop iteration */
guint need_repick : 1;
@@ -489,12 +479,6 @@ void gnome_canvas_get_scroll_offsets (GnomeCanvas *canvas, gint *cx, gint *cy);
*/
GnomeCanvasItem *gnome_canvas_get_item_at (GnomeCanvas *canvas, gdouble x, gdouble y);
-/* For use only by item type implementations. Request that the canvas eventually
- * redraw the specified region. The region is specified as a microtile
- * array. This function takes over responsibility for freeing the uta argument.
- */
-void gnome_canvas_request_redraw_uta (GnomeCanvas *canvas, ArtUta *uta);
-
/* For use only by item type implementations. Request that the canvas
* eventually redraw the specified region, specified in canvas pixel
* coordinates. The region contains (x1, y1) but not (x2, y2).