diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-font.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 105ae15f2a..9cf8b1f7b4 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,5 +1,9 @@ 2000-08-19 Lauris Kaplinski lauris@helixcode.com + * e-font.h: #define e_font_height(f) to save some space + +2000-08-19 Lauris Kaplinski lauris@helixcode.com + * e-font.h: * e-font.c: Thin wrapper around GdkFont to deal with UTF-8 directly Also handles bold/italic styling diff --git a/e-util/e-font.h b/e-util/e-font.h index 74c91aace5..74ebea2592 100644 --- a/e-util/e-font.h +++ b/e-util/e-font.h @@ -39,6 +39,8 @@ void e_font_unref (EFont *font); gint e_font_ascent (EFont * font); gint e_font_descent (EFont * font); +#define e_font_height(f) (e_font_ascent (f) + e_font_descent (f)) + /* * NB! UTF-8 text widths are given in chars, not bytes */ |