diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2006-01-29 00:55:24 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-01-29 00:55:24 +0000 |
commit | 16272a0a5682514e3eda47cb53fa0708ec8f178c (patch) | |
tree | 1d16c73f1911730f59d5199dc3375d444cdd417e /pango/pango-tabs.c | |
parent | 7b198ad324a75d8a910e7e75c1ac0e4c206af59d (diff) | |
download | pango-16272a0a5682514e3eda47cb53fa0708ec8f178c.tar.gz |
Reverted the tab alignments patch.
Diffstat (limited to 'pango/pango-tabs.c')
-rw-r--r-- | pango/pango-tabs.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c index 73343bc4..aedd9bce 100644 --- a/pango/pango-tabs.c +++ b/pango/pango-tabs.c @@ -257,12 +257,13 @@ pango_tab_array_resize (PangoTabArray *tab_array, /** * pango_tab_array_set_tab: * @tab_array: a #PangoTabArray - * @tab_index: the index of a tab stop, starting from zero + * @tab_index: the index of a tab stop * @alignment: tab alignment * @location: tab location in Pango units * - * Sets the alignment and location of a tab stop. Resizes the - * tab array if needed. + * Sets the alignment and location of a tab stop. + * @alignment must always be #PANGO_TAB_LEFT in the current + * implementation. * **/ void @@ -273,6 +274,7 @@ pango_tab_array_set_tab (PangoTabArray *tab_array, { g_return_if_fail (tab_array != NULL); g_return_if_fail (tab_index >= 0); + g_return_if_fail (alignment == PANGO_TAB_LEFT); g_return_if_fail (location >= 0); if (tab_index >= tab_array->size) |