summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-12-13 19:55:57 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-12-13 19:55:57 +0000
commit2fc2d85e7adc829d890cdd98caeb868f419f0cca (patch)
tree05b1c7c79c8c550559076707019917030da8d452 /pango/pango-layout.h
parentf84e23d20b29d406ab1f183f22ab4b9ca42b46fb (diff)
downloadpango-2fc2d85e7adc829d890cdd98caeb868f419f0cca.tar.gz
Add. (#153548, Morten Welinder)
Mon Dec 13 14:44:40 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.[ch] pango/pango.def docs/pango-sections.txt: Add. (#153548, Morten Welinder) * pango/pango-layout.c (pango_layout_set_font_description): Guard against the same description being set back.
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index ac501fe1..d52b8b1c 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -116,6 +116,9 @@ void pango_layout_set_markup_with_accel (PangoLayout *layout,
void pango_layout_set_font_description (PangoLayout *layout,
const PangoFontDescription *desc);
+
+G_CONST_RETURN PangoFontDescription *pango_layout_get_font_description (PangoLayout *layout);
+
void pango_layout_set_width (PangoLayout *layout,
int width);
int pango_layout_get_width (PangoLayout *layout);