summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-04-26 18:18:27 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-04-26 18:18:49 +0100
commit36e0a3d3a01f9962d97386ea2d3c60020e937a81 (patch)
treeb5be804a01fd9c77ca045f581e4b712e4fc2f7a1 /util
parent3a2d9ffe0333090bb31ff01048ed506595f20cf9 (diff)
trace: Remove unused functions
trace.c:1154: warning: ‘_has_font_face_id’ defined but not used trace.c:1196: warning: ‘_get_pattern_id’ defined but not used trace.c:1870: warning: ‘_emit_font_face’ defined but not used trace.c:1882: warning: ‘_emit_scaled_font’ defined but not used
Diffstat (limited to 'util')
-rw-r--r--util/cairo-trace/trace.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 2dd6e2520..b19d6700f 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -1150,12 +1150,6 @@ _get_font_face_id (cairo_font_face_t *font_face)
return _get_id (FONT_FACE, font_face);
}
-static bool
-_has_font_face_id (cairo_font_face_t *font_face)
-{
- return _has_id (FONT_FACE, font_face);
-}
-
static void
_emit_font_face_id (cairo_font_face_t *font_face)
{
@@ -1192,12 +1186,6 @@ _create_pattern_id (cairo_pattern_t *pattern)
return obj->token;
}
-static long
-_get_pattern_id (cairo_pattern_t *pattern)
-{
- return _get_id (PATTERN, pattern);
-}
-
static void
_emit_pattern_id (cairo_pattern_t *pattern)
{
@@ -1867,24 +1855,12 @@ _emit_context (cairo_t *cr)
}
static void
-_emit_font_face (cairo_font_face_t *font_face)
-{
- _emit_current (_get_object (FONT_FACE, font_face));
-}
-
-static void
_emit_pattern (cairo_pattern_t *pattern)
{
_emit_current (_get_object (PATTERN, pattern));
}
static void
-_emit_scaled_font (cairo_scaled_font_t *scaled_font)
-{
- _emit_current (_get_object (SCALED_FONT, scaled_font));
-}
-
-static void
_emit_surface (cairo_surface_t *surface)
{
_emit_current (_get_object (SURFACE, surface));