[cairo] [PATCH v8 61/71] qt: replaced calls to _cairo_clip_init_copy() by _cairo_clip_copy()

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Thu Jun 30 15:46:39 UTC 2016


_cairo_clip_init_copy() was removed with commit b132fae5e843c329d1414d1a65b2e8d66b99852f,
but a few calls were still remaining.

Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
 src/cairo-qt-surface.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cairo-qt-surface.cpp b/src/cairo-qt-surface.cpp
index 7ddad77..25c60a8 100644
--- a/src/cairo-qt-surface.cpp
+++ b/src/cairo-qt-surface.cpp
@@ -1216,7 +1216,7 @@ _cairo_qt_fast_fill (cairo_qt_surface_t *qs,
 
 	cairo_clip_t clip, old_clip = qs->clipper.clip;
 
-	_cairo_clip_init_copy (&clip, &qs->clipper.clip);
+	qs->clipper.clip = _cairo_clip_copy (&clip);
 	status = (cairo_int_status_t) _cairo_clip_clip (&clip,
 							path,
 							fill_rule,
-- 
2.6.4.442.g545299f



More information about the cairo mailing list