From: ellson Date: Tue, 26 Jan 2010 15:57:58 +0000 (+0000) Subject: back out previous re-ordering of end-job and finalize X-Git-Tag: LAST_LIBGRAPH~32^2~1467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d346b7364feb408f10f4c187ae7ea9e433c73b95;p=graphviz back out previous re-ordering of end-job and finalize --- 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 */