diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-07-18 08:29:03 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-07-18 08:29:03 +0000 |
commit | 31590a170f6d92c5a07e3d3d2da11ef496e78e99 (patch) | |
tree | 368e4103b78a967b33406a38a3d45a2d3d66d2e6 /gtk/graph_analysis.c | |
parent | b231e455c78b296cafcc694b2df77986a87bc29d (diff) |
GTK 1.2 does not define the macro GDK_IS_DRAWABLE which made compilation of the recent flow analysis fail to compile.
For the time being, just add a dummy define for this symbol making it always TRUE for gtk-1.x users so that it compiles.
this should be fixed properly at a later stage, but i guess there are very few users of gtk-1.2 anyway so no urgency.
svn path=/trunk/; revision=14949
Diffstat (limited to 'gtk/graph_analysis.c')
-rw-r--r-- | gtk/graph_analysis.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/graph_analysis.c b/gtk/graph_analysis.c index df424cb321..b34718230e 100644 --- a/gtk/graph_analysis.c +++ b/gtk/graph_analysis.c @@ -66,6 +66,16 @@ #include "simple_dialog.h" + +/* XXX FIXME */ +/* GTK-1.x does not have GDK_IS_DRAWABLE so just define is as always being true + * so that ethereal compiles. + * At later stage we should implement it as a real fallback for gtk-1.x + * but for the time being us very few gtk-1.2 users at elast can compile. + */ +#if (GTK_MAJOR_VERSION < 2) +#define GDK_IS_DRAWABLE(x) 1 +#endif /****************************************************************************/ |