diff options
author | James Henstridge <james@daa.com.au> | 2001-09-20 12:01:52 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2001-09-20 12:01:52 +0000 |
commit | dcedbae1f26c84d87c48e55bc934025bdabdea9c (patch) | |
tree | fd55753eda92bd1ed27755319b5d1dc3ebd5ca84 /pango/pango-font.h | |
parent | ac2f15f7238021cbfd2ad7b324b707bbea19e76f (diff) | |
download | pango-dcedbae1f26c84d87c48e55bc934025bdabdea9c.tar.gz |
fix rule so that flags get registered as flags and rather than enums
2001-09-20 James Henstridge <james@daa.com.au>
* pango/Makefile.am (s-enum-types-c): fix rule so that flags get
registered as flags and rather than enums (enums still get
registered as enums).
* pango/pango-font.h: add get_type routine to header.
* pango/fonts.c (pango_font_metrics_get_type): add get_type()
routine.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r-- | pango/pango-font.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h index e6d1cc0d..fc6b9b4b 100644 --- a/pango/pango-font.h +++ b/pango/pango-font.h @@ -150,6 +150,9 @@ char * pango_font_description_to_filename (const PangoFontDescrip /* * PangoFontMetrics */ + +#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ()) +GType pango_font_metrics_get_type (void); PangoFontMetrics *pango_font_metrics_ref (PangoFontMetrics *metrics); void pango_font_metrics_unref (PangoFontMetrics *metrics); int pango_font_metrics_get_ascent (PangoFontMetrics *metrics); |