[sapwood] remove an unnecessary call to clear the mask
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sapwood] remove an unnecessary call to clear the mask
- Date: Fri, 13 Aug 2010 11:41:27 +0000 (UTC)
commit 34f1d4a16e0a3a51fc44b334cdbf5e618b67a129
Author: Sven Herzberg <herzi gnome-de org>
Date: Fri Aug 13 13:16:46 2010 +0200
remove an unnecessary call to clear the mask
* engine/sapwood-pixmap.c: remove unnecessary clearing of the mask
engine/sapwood-pixmap.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/engine/sapwood-pixmap.c b/engine/sapwood-pixmap.c
index 8c4f78b..1be6120 100644
--- a/engine/sapwood-pixmap.c
+++ b/engine/sapwood-pixmap.c
@@ -517,9 +517,6 @@ sapwood_pixmap_render_rects (SapwoodPixmap* self,
GdkPixmap* tmp_mask = gdk_pixmap_new (NULL, tmp_width, tmp_height, 1);
cairo_t* mask_cr = gdk_cairo_create (tmp_mask);
- cairo_set_operator (mask_cr, CAIRO_OPERATOR_CLEAR);
- cairo_paint (mask_cr);
-
mask_surface = cairo_surface_reference (cairo_get_target (mask_cr));
cairo_surface_set_user_data (mask_surface, &sapwood_pixmap_owner,
tmp_mask, (GFreeFunc) g_object_unref);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]