diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-04-19 20:17:26 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-04-20 00:52:02 -0400 |
commit | be0320c4f8082a9274899959dc82297a04aa7800 (patch) | |
tree | 03bfddd6823ec5c0a17bfc1b9e7d182c3e45d461 /boilerplate/cairo-boilerplate-xlib.c | |
parent | 9b660a3d54940c68eb48f2afeca7e87e1d2bffa6 (diff) | |
download | cairo-be0320c4f8082a9274899959dc82297a04aa7800.tar.gz |
[boilerplate] Properly namespace boilerplate methods
in preparation for ripping them into per-backend files.
Diffstat (limited to 'boilerplate/cairo-boilerplate-xlib.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-xlib.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/boilerplate/cairo-boilerplate-xlib.c b/boilerplate/cairo-boilerplate-xlib.c index de3746cf6..302035d38 100644 --- a/boilerplate/cairo-boilerplate-xlib.c +++ b/boilerplate/cairo-boilerplate-xlib.c @@ -60,11 +60,11 @@ _cairo_boilerplate_xlib_synchronize (void *closure) * For obvious reasons, we don't use XSynchronize. */ static cairo_surface_t * -create_xlib_test_surface (Display *dpy, - cairo_content_t content, - int width, - int height, - xlib_target_closure_t *xtc) +_cairo_boilerplate_xlib_test_create_surface (Display *dpy, + cairo_content_t content, + int width, + int height, + xlib_target_closure_t *xtc) { XRenderPictFormat *xrender_format; @@ -109,11 +109,11 @@ create_xlib_test_surface (Display *dpy, } static cairo_surface_t * -create_xlib_perf_surface (Display *dpy, - cairo_content_t content, - int width, - int height, - xlib_target_closure_t *xtc) +_cairo_boilerplate_xlib_perf_create_surface (Display *dpy, + cairo_content_t content, + int width, + int height, + xlib_target_closure_t *xtc) { XSetWindowAttributes attr; XRenderPictFormat *xrender_format; @@ -177,9 +177,9 @@ _cairo_boilerplate_xlib_create_surface (const char *name, } if (mode == CAIRO_BOILERPLATE_MODE_TEST) - return create_xlib_test_surface (dpy, content, width, height, xtc); + return _cairo_boilerplate_xlib_test_create_surface (dpy, content, width, height, xtc); else /* mode == CAIRO_BOILERPLATE_MODE_PERF */ - return create_xlib_perf_surface (dpy, content, width, height, xtc); + return _cairo_boilerplate_xlib_perf_create_surface (dpy, content, width, height, xtc); } void |