diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-27 17:24:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-27 17:27:21 +0100 |
commit | 871f683367b1a1647b607f9221e1fc2eddc6e5dd (patch) | |
tree | a6ad801c9b9dd216acc0a9e21843dd7a92d2af3c /src/cairo-win32-surface.c | |
parent | 95c3c069326a77a28eb49053c0ace9f1977e0378 (diff) |
clone_similar(): s/device_offset/clone_offset/
A little bit of sleep and reflection suggested that the use of
device_offset_[xy] was confusing and clone_offset_[xy] more consistent
with the function naming.
Diffstat (limited to 'src/cairo-win32-surface.c')
-rw-r--r-- | src/cairo-win32-surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c index 883441c4..5a9eca31 100644 --- a/src/cairo-win32-surface.c +++ b/src/cairo-win32-surface.c @@ -443,8 +443,8 @@ _cairo_win32_surface_clone_similar (void *abstract_surface, int src_y, int width, int height, - int *device_offset_x, - int *device_offset_y, + int *clone_offset_x, + int *clone_offset_y, cairo_surface_t **clone_out) { cairo_content_t src_content; @@ -473,8 +473,8 @@ _cairo_win32_surface_clone_similar (void *abstract_surface, _cairo_pattern_fini (&pattern.base); if (status == CAIRO_STATUS_SUCCESS) { - *device_offset_x = src_x; - *device_offset_y = src_y; + *clone_offset_x = src_x; + *clone_offset_y = src_y; *clone_out = new_surface; } else cairo_surface_destroy (new_surface); |