[evolution] gnome-canvas: Remove unused flags from GnomeCanvasPixbuf
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] gnome-canvas: Remove unused flags from GnomeCanvasPixbuf
- Date: Fri, 29 Oct 2010 18:36:50 +0000 (UTC)
commit a13b6c8068cfa1cccd66f4eec44f72cc27695786
Author: Benjamin Otte <otte redhat com>
Date: Fri Oct 15 12:09:34 2010 +0200
gnome-canvas: Remove unused flags from GnomeCanvasPixbuf
libgnomecanvas/gnome-canvas-pixbuf.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/libgnomecanvas/gnome-canvas-pixbuf.c b/libgnomecanvas/gnome-canvas-pixbuf.c
index bb824cb..822630f 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]