aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas-pixbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgnomecanvas/gnome-canvas-pixbuf.c')
-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;
}