Commit c65b3e9b authored by Dom Lachowicz's avatar Dom Lachowicz

hopefully get rid of static when using the cairo backend

parent 65888c12
2005-10-07 Dom Lachowicz <cinamod@hotmail.com>
* rsvg.c: Hopefully get rid of "static" when rendering using the cairo backend
2005-10-07 Caleb Moore <c.moore@student.unsw.edu.au>
* rsvg-cairo-draw.c: made opacity work
......
......@@ -134,7 +134,7 @@ static GdkPixbuf * _rsvg_handle_get_pixbuf (RsvgHandle *handle)
rsvg_handle_get_dimensions (handle, &dimensions);
rowstride = dimensions.width * 4;
pixels = g_new(guint8, dimensions.width * dimensions.height * 4);
pixels = g_new0(guint8, dimensions.width * dimensions.height * 4);
surface = cairo_image_surface_create_for_data (pixels,
CAIRO_FORMAT_ARGB32,
dimensions.width, dimensions.height,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment