From af8b4b2520fc43fba5d67513aeb3ef488bea3978 Mon Sep 17 00:00:00 2001 From: Lauris Kaplinski Date: Thu, 31 Aug 2000 00:32:57 +0000 Subject: Made it compilable both with gnome-print 0.20 and 0.21+ svn path=/trunk/; revision=5126 --- widgets/misc/e-unicode.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'widgets/misc/e-unicode.h') diff --git a/widgets/misc/e-unicode.h b/widgets/misc/e-unicode.h index 5df2932ac4..6fd9c7f5af 100644 --- a/widgets/misc/e-unicode.h +++ b/widgets/misc/e-unicode.h @@ -4,6 +4,12 @@ #include #include #include +#include + +#ifdef USING_GNOME_PRINT_0_20 +#define gnome_font_get_size(f) ((f)->size) +#define gnome_font_get_glyph_width gnome_font_get_width +#endif /* * e_utf8_strstrcase -- cgit v1.2.3