Index: ChangeLog =================================================================== RCS file: /cvsroot/xforms/xforms/ChangeLog,v retrieving revision 1.106 diff -u -p -r1.106 ChangeLog --- ChangeLog 13 May 2004 17:49:25 -0000 1.106 +++ ChangeLog 14 May 2004 21:05:21 -0000 @@ -1,3 +1,12 @@ +2004-05-14 Angus Leeming + + * lib/include/canvas.h: add a preprocessor-qualified #include + of glcanvas.h. The user must inititalise the GLCANVAS_H_LOCATION + appropriately. + + This is a means to maintain some sort of backwards compatibility + without the old, hacky code. + 2004-05-13 Angus Leeming * image/Makefile.am (libflimage_la_LDFLAGS): Index: lib/include/canvas.h =================================================================== RCS file: /cvsroot/xforms/xforms/lib/include/canvas.h,v retrieving revision 1.3 diff -u -p -r1.3 canvas.h --- lib/include/canvas.h 17 Apr 2003 09:27:48 -0000 1.3 +++ lib/include/canvas.h 14 May 2004 21:05:22 -0000 @@ -173,5 +173,13 @@ FL_EXPORT void fl_canvas_yield_to_shortc int yes ); +/* This is an attempt to maintain some sort of backwards compatibility + * with old code whilst also getting rid of the old, system-specific + * hack. Angus 14 May, 2004. + */ +#ifdef GLCANVAS_H_LOCATION +#include GLCANVAS_H_LOCATION +#endif + #endif /****FL_CANVAS_H ******/