summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-04-19 19:32:52 -0400
committerBehdad Esfahbod <behdad@behdad.org>2007-04-20 00:52:01 -0400
commit01760286b388870e5bebf3851b4bef1350d89852 (patch)
treed650a79868e21673ac4133f3e66a94831ecc229c /boilerplate
parentd64ef355217db7a555da0029187d19c80ec12609 (diff)
[boilerplate] Rename quartz-boilerplate to boilerplate-quartz
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/Makefile.am4
-rw-r--r--boilerplate/cairo-boilerplate-quartz-private.h (renamed from boilerplate/cairo-quartz-boilerplate-private.h)8
-rw-r--r--boilerplate/cairo-boilerplate-quartz.c (renamed from boilerplate/cairo-quartz-boilerplate.c)6
-rw-r--r--boilerplate/cairo-boilerplate.c10
4 files changed, 14 insertions, 14 deletions
diff --git a/boilerplate/Makefile.am b/boilerplate/Makefile.am
index 429fff48..f097d9e6 100644
--- a/boilerplate/Makefile.am
+++ b/boilerplate/Makefile.am
@@ -8,8 +8,8 @@ xmalloc.h
libcairoboilerplate_la_LIBADD = $(top_builddir)/src/libcairo.la $(CAIRO_LDADD)
if CAIRO_HAS_QUARTZ_SURFACE
-libcairoboilerplate_la_SOURCES += cairo-quartz-boilerplate.c
-libcairoboilerplate_la_SOURCES += cairo-quartz-boilerplate-private.h
+libcairoboilerplate_la_SOURCES += cairo-boilerplate-quartz.c
+libcairoboilerplate_la_SOURCES += cairo-boilerplate-quartz-private.h
endif
if CAIRO_HAS_BEOS_SURFACE
diff --git a/boilerplate/cairo-quartz-boilerplate-private.h b/boilerplate/cairo-boilerplate-quartz-private.h
index ef5ea2cf..808342f5 100644
--- a/boilerplate/cairo-quartz-boilerplate-private.h
+++ b/boilerplate/cairo-boilerplate-quartz-private.h
@@ -24,11 +24,11 @@
* Author: Carl D. Worth <cworth@cworth.org>
*/
-#ifndef _CAIRO_QUARTZ_BOILERPLATE_PRIVATE_H_
-#define _CAIRO_QUARTZ_BOILERPLATE_PRIVATE_H_
+#ifndef _CAIRO_BOILERPLATE_QUARTZ_PRIVATE_H_
+#define _CAIRO_BOILERPLATE_QUARTZ_PRIVATE_H_
cairo_surface_t *
-_cairo_quartz_boilerplate_create_surface (const char *name,
+_cairo_boilerplate_quartz_create_surface (const char *name,
cairo_content_t content,
int width,
int height,
@@ -36,6 +36,6 @@ _cairo_quartz_boilerplate_create_surface (const char *name,
void **closure);
void
-_cairo_quartz_boilerplate_cleanup (void *closure);
+_cairo_boilerplate_quartz_cleanup (void *closure);
#endif
diff --git a/boilerplate/cairo-quartz-boilerplate.c b/boilerplate/cairo-boilerplate-quartz.c
index 369b2da4..ccfd79f4 100644
--- a/boilerplate/cairo-quartz-boilerplate.c
+++ b/boilerplate/cairo-boilerplate-quartz.c
@@ -25,12 +25,12 @@
*/
#include "cairo-boilerplate.h"
-#include "cairo-quartz-boilerplate-private.h"
+#include "cairo-boilerplate-quartz-private.h"
#include <cairo-quartz.h>
cairo_surface_t *
-_cairo_quartz_boilerplate_create_surface (const char *name,
+_cairo_boilerplate_quartz_create_surface (const char *name,
cairo_content_t content,
int width,
int height,
@@ -54,7 +54,7 @@ _cairo_quartz_boilerplate_create_surface (const char *name,
}
void
-_cairo_quartz_boilerplate_cleanup (void *closure)
+_cairo_boilerplate_quartz_cleanup (void *closure)
{
/* nothing */
}
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c
index 8c739165..79912b35 100644
--- a/boilerplate/cairo-boilerplate.c
+++ b/boilerplate/cairo-boilerplate.c
@@ -27,7 +27,7 @@
#include "cairo-boilerplate.h"
#if CAIRO_HAS_QUARTZ_SURFACE
-#include "cairo-quartz-boilerplate-private.h"
+#include "cairo-boilerplate-quartz-private.h"
#endif
#include <stdio.h>
@@ -1427,11 +1427,11 @@ static cairo_boilerplate_target_t targets[] =
#endif /* CAIRO_HAS_GLITZ_SURFACE */
#if CAIRO_HAS_QUARTZ_SURFACE
{ "quartz", CAIRO_SURFACE_TYPE_QUARTZ, CAIRO_CONTENT_COLOR_ALPHA, 0,
- _cairo_quartz_boilerplate_create_surface, cairo_surface_write_to_png,
- _cairo_quartz_boilerplate_cleanup },
+ _cairo_boilerplate_quartz_create_surface, cairo_surface_write_to_png,
+ _cairo_boilerplate_quartz_cleanup },
{ "quartz", CAIRO_SURFACE_TYPE_QUARTZ, CAIRO_CONTENT_COLOR, 0,
- _cairo_quartz_boilerplate_create_surface, cairo_surface_write_to_png,
- _cairo_quartz_boilerplate_cleanup },
+ _cairo_boilerplate_quartz_create_surface, cairo_surface_write_to_png,
+ _cairo_boilerplate_quartz_cleanup },
#endif
#if CAIRO_HAS_WIN32_SURFACE
{ "win32", CAIRO_SURFACE_TYPE_WIN32, CAIRO_CONTENT_COLOR, 0,