summaryrefslogtreecommitdiff
path: root/rsvg-cairo-draw.c
diff options
context:
space:
mode:
authorFelix Riemann <friemann@gnome.org>2012-03-23 21:51:08 +0100
committerChristian Persch <chpe@gnome.org>2012-03-26 14:25:08 +0200
commit286e3f084b2abc5a6b27ad1c9c0d9c3e040c50de (patch)
tree3978d430bd08940ba3f939f30688dc225b8d747f /rsvg-cairo-draw.c
parent5b97a8f0afea75f8d318d3c8a71a4658ac58616f (diff)
downloadlibrsvg-286e3f084b2abc5a6b27ad1c9c0d9c3e040c50de.tar.gz
Remove now unused or unneeded variables and functions
Fixes compiler warnings when -Wunused-variable and -Wunused-functions compiler switches are enabled. Bug #672725.
Diffstat (limited to 'rsvg-cairo-draw.c')
-rw-r--r--rsvg-cairo-draw.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/rsvg-cairo-draw.c b/rsvg-cairo-draw.c
index 612c2278..11bc8f35 100644
--- a/rsvg-cairo-draw.c
+++ b/rsvg-cairo-draw.c
@@ -44,12 +44,6 @@
static const cairo_user_data_key_t surface_pixel_data_key;
static void
-rsvg_pixmap_destroy (gchar * pixels, gpointer data)
-{
- g_free (pixels);
-}
-
-static void
_pattern_add_rsvg_color_stops (cairo_pattern_t * pattern,
GPtrArray * stops, guint32 current_color_rgb, guint8 opacity)
{
@@ -574,7 +568,6 @@ rsvg_cairo_render_surface (RsvgDrawingCtx *ctx,
int width, height;
double dwidth, dheight;
- int j;
RsvgBbox bbox;
if (surface == NULL)