forked from AuroraMiddleware/gtk
Destroy cairo context after painting css image url
This commit is contained in:
parent
e0efeba27e
commit
9ad78370eb
@ -92,6 +92,7 @@ gtk_css_image_url_parse (GtkCssImage *image,
|
||||
cr = cairo_create (url->surface);
|
||||
gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0);
|
||||
cairo_paint (cr);
|
||||
cairo_destroy (cr);
|
||||
g_object_unref (pixbuf);
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user