diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-29 19:43:10 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-29 19:43:10 +0000 |
commit | f5692a3d420b3430deaf20ac6be3953966c4c479 (patch) | |
tree | 79c032733c14efeaee659313aeb9965bdd21fc9a /pango/pangox-fontmap.c | |
parent | f138d945460f2c6e287e098d0bfe04ed20d57f18 (diff) | |
download | pango-f5692a3d420b3430deaf20ac6be3953966c4c479.tar.gz |
New function to retrieve the XLFD for a given subfont.
Mon May 29 13:22:36 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c pango/pangox.h (pango_x_font_subfont_xlfd): New
function to retrieve the XLFD for a given subfont.
Diffstat (limited to 'pango/pangox-fontmap.c')
-rw-r--r-- | pango/pangox-fontmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pangox-fontmap.c b/pango/pangox-fontmap.c index 125aada5..ac552e04 100644 --- a/pango/pangox-fontmap.c +++ b/pango/pangox-fontmap.c @@ -31,8 +31,8 @@ #define PANGO_TYPE_X_FONT_MAP (pango_x_font_map_get_type ()) #define PANGO_X_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_X_FONT_MAP, PangoXFontMap)) #define PANGO_X_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_X_FONT_MAP, PangoXFontMapClass)) -#define PANGO_IS_X_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_X_FONT_MAP)) -#define PANGO_IS_X_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_X_FONT_MAP)) +#define PANGO_X_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_X_FONT_MAP)) +#define PANGO_X_IS_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_X_FONT_MAP)) #define PANGO_X_FONT_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_X_FONT_MAP, PangoXFontMapClass)) typedef struct _PangoXFamilyEntry PangoXFamilyEntry; @@ -1396,7 +1396,7 @@ PangoXFontCache * pango_x_font_map_get_font_cache (PangoFontMap *font_map) { g_return_val_if_fail (font_map != NULL, NULL); - g_return_val_if_fail (PANGO_IS_X_FONT_MAP (font_map), NULL); + g_return_val_if_fail (PANGO_X_IS_FONT_MAP (font_map), NULL); return PANGO_X_FONT_MAP (font_map)->font_cache; } |