aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-08 21:22:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:49:57 +0800
commitdf70b76a554a94335e14ede2d7cbc5e1ec7fd7d6 (patch)
tree4c3127b1749c53edf3952ce28548411da4cc735b /widgets/misc
parent9b2576119477a2a4bcfed3d1c5f2c038403941be (diff)
downloadgsoc2013-evolution-df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6.tar.gz
gsoc2013-evolution-df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6.tar.zst
gsoc2013-evolution-df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6.zip
gnome-canvas: Remove aa code
The anti-aliased code was never used, so remove it.
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-canvas-background.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/widgets/misc/e-canvas-background.c b/widgets/misc/e-canvas-background.c
index eba6d32659..e062e16dfa 100644
--- a/widgets/misc/e-canvas-background.c
+++ b/widgets/misc/e-canvas-background.c
@@ -271,9 +271,7 @@ ecb_set_property (GObject *object,
if (item->flags & GNOME_CANVAS_ITEM_REALIZED) {
get_color (ecb);
- if (!item->canvas->aa) {
- gdk_gc_set_foreground (ecb->priv->gc, &ecb->priv->color);
- }
+ gdk_gc_set_foreground (ecb->priv->gc, &ecb->priv->color);
}
}
@@ -349,8 +347,7 @@ ecb_realize (GnomeCanvasItem *item)
ecb->priv->gc = gdk_gc_new (bin_window);
get_color (ecb);
- if (!item->canvas->aa)
- gdk_gc_set_foreground (ecb->priv->gc, &ecb->priv->color);
+ gdk_gc_set_foreground (ecb->priv->gc, &ecb->priv->color);
set_stipple (ecb, NULL, FALSE);