aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
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
parent14f4aec7b07da83fc09c60a2f171d110b4f7fe1a (diff)
downloadgsoc2013-evolution-af8b4b2520fc43fba5d67513aeb3ef488bea3978.tar.gz
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')
-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
m category ircehaupt2014-02-211-1/+1 * - Remove CFLAGS not understood by gccgahr2014-02-201-1/+0 * - Convert to USES=tkgahr2014-02-203-27/+25 * According to the Porter's Handbook (5.12.2.3.) default options must be added toehaupt2014-02-101-0/+3 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * - Restore the correct USE_TK value range, was inadvertently changed in mygahr2013-05-141-1/+1 * - Fix build with Tcl 8.6 [1]gahr2013-05-142-12/+27 * Style: tab -> space.eadler2013-03-291-1/+1 * - Get Rid MD5 supportmiwi2011-03-191-1/+0 * - Change default Tcl/Tk version to 8.5mm2009-02-231-1/+1 * - Switch to USE_TCL infrastructuremm2009-01-051-12/+14 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-3/+2 * - Move from versioned tcl/tk CATEGORIES to simple tcl and tk categoriespav2008-04-09