From 8132d058af1eef424bbe6919e63693d54dc012c4 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 5 May 2006 17:24:37 +0000 Subject: [PATCH] make filewatching work with all layout engines --- lib/gvc/gvcjob.h | 2 ++ lib/gvc/gvrender.c | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/gvc/gvcjob.h b/lib/gvc/gvcjob.h index 742e8cd83..b2ceddbfb 100644 --- a/lib/gvc/gvcjob.h +++ b/lib/gvc/gvcjob.h @@ -141,6 +141,8 @@ extern "C" { char *input_filename; int graph_index; + char *layout_type; + char *output_filename; char *output_langname; FILE *output_file; diff --git a/lib/gvc/gvrender.c b/lib/gvc/gvrender.c index 6577403ba..58445f937 100644 --- a/lib/gvc/gvrender.c +++ b/lib/gvc/gvrender.c @@ -127,6 +127,7 @@ void gvrender_begin_job(GVJ_t * job) GVC_t *gvc = job->gvc; gvrender_engine_t *gvre = job->render.engine; job->input_filename = gvc->gvg->input_filename; + job->layout_type = gvc->layout.type; job->graph_index = gvc->gvg->graph_index; job->bb = gvc->bb; if (gvre) { -- 2.40.0