From 13ec8ebb11afa15610b9325be43b0f7a1f5e997a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 30 Aug 2020 09:56:21 -0700 Subject: [PATCH] remove unnecessary NUL_FILE use The Cairo API supports simply passing NULL to indicate you do not want the output written to a file. --- plugin/rsvg/gvloadimage_rsvg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rsvg/gvloadimage_rsvg.c b/plugin/rsvg/gvloadimage_rsvg.c index 56ef22c35..7ac448218 100644 --- a/plugin/rsvg/gvloadimage_rsvg.c +++ b/plugin/rsvg/gvloadimage_rsvg.c @@ -187,7 +187,7 @@ static void gvloadimage_rsvg_cairo(GVJ_t * job, usershape_t *us, boxf b, boolean if (rsvgh) { cairo_save(cr); - surface = cairo_svg_surface_create(NUL_FILE, us->w, us->h); + surface = cairo_svg_surface_create(NULL, us->w, us->h); cairo_surface_reference(surface); -- 2.40.0