_rsvg_pixbuf_new_cleared (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample,
                          int width, int height)
{
    GdkPixbuf *pb;
    guchar *data;

    pb = gdk_pixbuf_new (colorspace, has_alpha, bits_per_sample, width, height);
    data = gdk_pixbuf_get_pixels (pb);
    memset (data, 0, width * height * 4);

    return pb;
}
_rsvg_pixbuf_new_cleared (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample,
                          int width, int height)
{
    GdkPixbuf *pb;
    guchar *data;

    pb = gdk_pixbuf_new (colorspace, has_alpha, bits_per_sample, width, height);
    data = gdk_pixbuf_get_pixels (pb);
    memset (data, 0, width * height * 4);

    return pb;
}