From 6ebdbe7ce53a7fe07e165adc49df4eb77daf15f9 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 2 Jun 2006 17:49:34 +0000 Subject: [PATCH] fix nasty bug --- lib/gvc/gvcjob.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/gvc/gvcjob.h b/lib/gvc/gvcjob.h index 42da2c6be..28892cb56 100644 --- a/lib/gvc/gvcjob.h +++ b/lib/gvc/gvcjob.h @@ -153,10 +153,6 @@ extern "C" { gvplugin_active_device_t device; gvdevice_callbacks_t *callbacks; -#ifdef WITH_CODEGENS - codegen_t *codegen; /* current codegen */ -#endif - void *surface; /* gd or cairo surface */ bool external_surface; /* surface belongs to caller */ @@ -224,6 +220,11 @@ extern "C" { gvevent_key_binding_t *keybindings; int numkeys; void *keycodes; + +/* Must be last as separately compiled plugins are not compiled with WITH_CODEGENS */ +#ifdef WITH_CODEGENS + codegen_t *codegen; /* current codegen */ +#endif }; #ifdef __cplusplus -- 2.40.0