From d346b7364feb408f10f4c187ae7ea9e433c73b95 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 26 Jan 2010 15:57:58 +0000 Subject: [PATCH] back out previous re-ordering of end-job and finalize --- lib/gvc/gvrender.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gvc/gvrender.c b/lib/gvc/gvrender.c index ccab28b52..f6de70c5a 100644 --- a/lib/gvc/gvrender.c +++ b/lib/gvc/gvrender.c @@ -118,23 +118,23 @@ void gvrender_begin_job(GVJ_t * job) { gvrender_engine_t *gvre = job->render.engine; + gvdevice_initialize(job); if (gvre) { if (gvre->begin_job) gvre->begin_job(job); } - gvdevice_initialize(job); } void gvrender_end_job(GVJ_t * job) { gvrender_engine_t *gvre = job->render.engine; - gvdevice_finalize(job); if (gvre) { if (gvre->end_job) gvre->end_job(job); } job->gvc->common.lib = NULL; /* FIXME - minimally this doesn't belong here */ + gvdevice_finalize(job); } /* font modifiers */ -- 2.40.0