summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-04-21 19:26:10 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-04-21 19:26:10 +0000
commit3e56f5f1a5412a2ca4f34f4b1fd973644b64c82b (patch)
tree966f722e9b6c3664225a89ef86501dc612f5993e /pango/pango-attributes.h
parentfcf1afb9f48ba15e04ea8ae269e62bb075b8d656 (diff)
downloadpango-3e56f5f1a5412a2ca4f34f4b1fd973644b64c82b.tar.gz
Bug 511183 – Add pango_attr_type_get_name()
2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 511183 – Add pango_attr_type_get_name() * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.c (pango_attr_type_register), (pango_attr_type_get_name): * pango/pango-attributes.h: * pango/pango.def: New public API: pango_attr_type_get_name() svn path=/trunk/; revision=2598
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index ad7a0861..d4ce8404 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -176,7 +176,8 @@ struct _PangoAttrFontDesc
PangoFontDescription *desc;
};
-PangoAttrType pango_attr_type_register (const gchar *name);
+PangoAttrType pango_attr_type_register (const gchar *name);
+G_CONST_RETURN char * pango_attr_type_get_name (PangoAttrType type) G_GNUC_CONST;
void pango_attribute_init (PangoAttribute *attr,
const PangoAttrClass *klass);