aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-15 18:09:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:01 +0800
commita13b6c8068cfa1cccd66f4eec44f72cc27695786 (patch)
tree4afc4e31da93e013a680e9183eb0ed484cfd8433 /libgnomecanvas
parent3fb0c763eb870c757b4c0b589ffde32cf03e8e05 (diff)
downloadgsoc2013-evolution-a13b6c8068cfa1cccd66f4eec44f72cc27695786.tar
gsoc2013-evolution-a13b6c8068cfa1cccd66f4eec44f72cc27695786.tar.gz
gsoc2013-evolution-a13b6c8068cfa1cccd66f4eec44f72cc27695786.tar.bz2
gsoc2013-evolution-a13b6c8068cfa1cccd66f4eec44f72cc27695786.tar.lz
gsoc2013-evolution-a13b6c8068cfa1cccd66f4eec44f72cc27695786.tar.xz
gsoc2013-evolution-a13b6c8068cfa1cccd66f4eec44f72cc27695786.tar.zst
gsoc2013-evolution-a13b6c8068cfa1cccd66f4eec44f72cc27695786.zip
gnome-canvas: Remove unused flags from GnomeCanvasPixbuf
Diffstat (limited to 'libgnomecanvas')
-rw-r--r--libgnomecanvas/gnome-canvas-pixbuf.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libgnomecanvas/gnome-canvas-pixbuf.c b/libgnomecanvas/gnome-canvas-pixbuf.c
index bb824cb53a..822630f748 100644
--- a/libgnomecanvas/gnome-canvas-pixbuf.c
+++ b/libgnomecanvas/gnome-canvas-pixbuf.c
@@ -53,12 +53,6 @@ typedef struct {
guint height_in_pixels : 1;
guint x_in_pixels : 1;
guint y_in_pixels : 1;
-
- /* Whether the pixbuf has changed */
- guint need_pixbuf_update : 1;
-
- /* Whether the transformation or size have changed */
- guint need_xform_update : 1;
} PixbufPrivate;
/* Object argument IDs */
@@ -323,7 +317,6 @@ gnome_canvas_pixbuf_set_property (GObject *object,
priv->pixbuf = pixbuf;
}
- priv->need_pixbuf_update = TRUE;
gnome_canvas_item_request_update (item);
break;
@@ -331,19 +324,16 @@ gnome_canvas_pixbuf_set_property (GObject *object,
val = g_value_get_double (value);
g_return_if_fail (val >= 0.0);
priv->width = val;
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_WIDTH_SET:
priv->width_set = g_value_get_boolean (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_WIDTH_IN_PIXELS:
priv->width_in_pixels = g_value_get_boolean (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
@@ -351,43 +341,36 @@ gnome_canvas_pixbuf_set_property (GObject *object,
val = g_value_get_double (value);
g_return_if_fail (val >= 0.0);
priv->height = val;
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_HEIGHT_SET:
priv->height_set = g_value_get_boolean (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_HEIGHT_IN_PIXELS:
priv->height_in_pixels = g_value_get_boolean (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_X:
priv->x = g_value_get_double (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_X_IN_PIXELS:
priv->x_in_pixels = g_value_get_boolean (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_Y:
priv->y = g_value_get_double (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
case PROP_Y_IN_PIXELS:
priv->y_in_pixels = g_value_get_boolean (value);
- priv->need_xform_update = TRUE;
gnome_canvas_item_request_update (item);
break;
@@ -676,8 +659,6 @@ gnome_canvas_pixbuf_update (GnomeCanvasItem *item,
recompute_bounding_box (gcp, affine);
gnome_canvas_request_redraw (
item->canvas, item->x1, item->y1, item->x2, item->y2);
- priv->need_pixbuf_update = FALSE;
- priv->need_xform_update = FALSE;
}