diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2008-03-13 15:37:26 -0700 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@h-232.office.mozilla.org> | 2008-03-13 15:37:57 -0700 |
commit | a33351f9c677144437bef25a794b97f2ac4bb17a (patch) | |
tree | a2dc16f53411b709abad7c2d22eff7ef990121cf | |
parent | b4f518f917f5062537ee3c6a7a54180017b2c588 (diff) |
[quartz] remove some compiler warnings
-rw-r--r-- | src/cairo-atsui-font.c | 2 | ||||
-rw-r--r-- | src/cairo-quartz-image-surface.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/cairo-atsui-font.c b/src/cairo-atsui-font.c index 74d3e9ebe..2d585ea46 100644 --- a/src/cairo-atsui-font.c +++ b/src/cairo-atsui-font.c @@ -320,7 +320,7 @@ _cairo_atsui_font_create_scaled (cairo_font_face_t *font_face, if (font) { if (font->style) ATSUDisposeStyle(font->style); - _cairo_scaled_font_fini(font); + _cairo_scaled_font_fini(&font->base); free (font); } diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c index 8defe5394..124a803c1 100644 --- a/src/cairo-quartz-image-surface.c +++ b/src/cairo-quartz-image-surface.c @@ -294,10 +294,6 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface) CGImageRef image; - CGContextRef cgContext; - CGColorSpaceRef cgColorspace; - CGBitmapInfo bitinfo; - cairo_image_surface_t *image_surface; int width, height, stride; cairo_format_t format; |