aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-unicode.h
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2000-08-31 08:32:57 +0800
committerLauris Kaplinski <lauris@src.gnome.org>2000-08-31 08:32:57 +0800
commitaf8b4b2520fc43fba5d67513aeb3ef488bea3978 (patch)
tree884ef84b79aa8506ff0a4aaa1aa76537df2f9858 /widgets/misc/e-unicode.h
parent14f4aec7b07da83fc09c60a2f171d110b4f7fe1a (diff)
downloadgsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.tar
gsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.tar.gz
gsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.tar.bz2
gsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.tar.lz
gsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.tar.xz
gsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.tar.zst
gsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.zip
Made it compilable both with gnome-print 0.20 and 0.21+
svn path=/trunk/; revision=5126
Diffstat (limited to 'widgets/misc/e-unicode.h')
-rw-r--r--widgets/misc/e-unicode.h6
1 files changed, 6 insertions, 0 deletions
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 <sys/types.h>
#include <glib.h>
#include <gtk/gtk.h>
+#include <config.h>
+
+#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