summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-10-16 09:07:40 -0700
committerCarl Worth <cworth@cworth.org>2006-10-16 09:07:47 -0700
commit71037f3612da9d11431567c05c17807499ab1746 (patch)
tree23de4e1ac4c87245bb2412a08d28e57b6a224186 /boilerplate
parent6c9508340620c5981393a3455304e774712ddc83 (diff)
Rename wait_for_rendering to syncrhonize
We're not using this call both before and after rendering so the old name just didn't make sense anymore.
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/cairo-boilerplate.c6
-rw-r--r--boilerplate/cairo-boilerplate.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c
index 1af6e897..03208160 100644
--- a/boilerplate/cairo-boilerplate.c
+++ b/boilerplate/cairo-boilerplate.c
@@ -865,7 +865,7 @@ typedef struct _xlib_target_closure
} xlib_target_closure_t;
static void
-boilerplate_xlib_wait_for_rendering (void *closure)
+boilerplate_xlib_synchronize (void *closure)
{
xlib_target_closure_t *xtc = closure;
XImage *ximage;
@@ -1443,10 +1443,10 @@ cairo_boilerplate_target_t targets[] =
#if CAIRO_HAS_XLIB_SURFACE
{ "xlib", CAIRO_SURFACE_TYPE_XLIB, CAIRO_CONTENT_COLOR_ALPHA, 0,
create_xlib_surface, cairo_surface_write_to_png, cleanup_xlib,
- boilerplate_xlib_wait_for_rendering},
+ boilerplate_xlib_synchronize},
{ "xlib", CAIRO_SURFACE_TYPE_XLIB, CAIRO_CONTENT_COLOR, 0,
create_xlib_surface, cairo_surface_write_to_png, cleanup_xlib,
- boilerplate_xlib_wait_for_rendering},
+ boilerplate_xlib_synchronize},
#endif
#if CAIRO_HAS_PS_SURFACE
{ "ps", CAIRO_SURFACE_TYPE_PS,
diff --git a/boilerplate/cairo-boilerplate.h b/boilerplate/cairo-boilerplate.h
index 26f4becb..66d40e5a 100644
--- a/boilerplate/cairo-boilerplate.h
+++ b/boilerplate/cairo-boilerplate.h
@@ -119,7 +119,7 @@ typedef struct _cairo_boilerplate_target
cairo_boilerplate_create_surface_t create_surface;
cairo_boilerplate_write_to_png_t write_to_png;
cairo_boilerplate_cleanup_t cleanup;
- cairo_boilerplate_wait_t wait_for_rendering;
+ cairo_boilerplate_wait_t synchronize;
void *closure;
} cairo_boilerplate_target_t;