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
This commit is contained in:
Chris Wilson 2010-04-26 18:18:27 +01:00
parent 3a2d9ffe03
commit 36e0a3d3a0

View file

@ -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)
{
@ -1866,24 +1854,12 @@ _emit_context (cairo_t *cr)
_emit_current (_get_object (CONTEXT, 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)
{