summaryrefslogtreecommitdiff
path: root/test/pixman-rotate.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-03-09 12:35:36 +0000
committerCarl Worth <cworth@cworth.org>2005-03-09 12:35:36 +0000
commit6d4653fe22c0d24d650b094a1e271c37a9a11eb1 (patch)
tree725708c033e6538f8ad1b908be27d50497536312 /test/pixman-rotate.c
parent36820ec40a4c2cd246d23d23e6d8ef15dd4c6504 (diff)
downloadcairo-6d4653fe22c0d24d650b094a1e271c37a9a11eb1.tar.gz
Rename all the cairo_current functions to cairo_get functions instead. Add documentation for all of these functions (and a few others as well).
Add support so that old binarys should still run and old source should still compile, (though we'll rip that out again on the API Shakeup flag day).
Diffstat (limited to 'test/pixman-rotate.c')
-rw-r--r--test/pixman-rotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pixman-rotate.c b/test/pixman-rotate.c
index 6a64a9a77..991bed4bb 100644
--- a/test/pixman-rotate.c
+++ b/test/pixman-rotate.c
@@ -27,7 +27,7 @@ draw (cairo_t *cr, int width, int height)
{
cairo_surface_t *target, *stamp;
- target = cairo_current_target_surface (cr);
+ target = cairo_get_target_surface (cr);
cairo_surface_reference (target);
stamp = cairo_surface_create_similar (target, CAIRO_FORMAT_ARGB32,