aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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 /e-util
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 'e-util')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-unicode.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index cf73491624..cefa882edc 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-30 Lauris Kaplinski <lauris@helixcode.com>
+
+ * e-unicode.h: #define gnome_font_get_size and
+ gnome_font_get_width, if compiling with gnome-print 0.20
+
2000-08-30 Dan Winship <danw@helixcode.com>
* Makefile.am (libeutil_la_LIBADD): make e-util depend on
diff --git a/e-util/e-unicode.h b/e-util/e-unicode.h
index 5df2932ac4..6fd9c7f5af 100644
--- a/e-util/e-unicode.h
+++ b/e-util/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