From ec5cadea0c32ea4b63271523aabeb8758e163840 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 27 Sep 2001 16:10:37 +0000 Subject: Fix wrapper version to have boolean result. (#61248, Eric Lemings.) Thu Sep 27 12:08:23 2001 Owen Taylor * pango/pango-utils.c (pango_log2vis_get_embedding_levels): Fix wrapper version to have boolean result. (#61248, Eric Lemings.) --- ChangeLog | 6 ++++++ ChangeLog.pre-1-0 | 6 ++++++ ChangeLog.pre-1-10 | 6 ++++++ ChangeLog.pre-1-2 | 6 ++++++ ChangeLog.pre-1-4 | 6 ++++++ ChangeLog.pre-1-6 | 6 ++++++ ChangeLog.pre-1-8 | 6 ++++++ pango/pango-utils.c | 9 ++++++--- 8 files changed, 48 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd0be075..4320d814 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Sep 27 12:08:23 2001 Owen Taylor + + * pango/pango-utils.c (pango_log2vis_get_embedding_levels): + Fix wrapper version to have boolean result. (#61248, + Eric Lemings.) + Tue Sep 25 11:54:03 2001 Owen Taylor * configure.in: Version 0.20 diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index bd0be075..4320d814 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,9 @@ +Thu Sep 27 12:08:23 2001 Owen Taylor + + * pango/pango-utils.c (pango_log2vis_get_embedding_levels): + Fix wrapper version to have boolean result. (#61248, + Eric Lemings.) + Tue Sep 25 11:54:03 2001 Owen Taylor * configure.in: Version 0.20 diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index bd0be075..4320d814 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +Thu Sep 27 12:08:23 2001 Owen Taylor + + * pango/pango-utils.c (pango_log2vis_get_embedding_levels): + Fix wrapper version to have boolean result. (#61248, + Eric Lemings.) + Tue Sep 25 11:54:03 2001 Owen Taylor * configure.in: Version 0.20 diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index bd0be075..4320d814 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,9 @@ +Thu Sep 27 12:08:23 2001 Owen Taylor + + * pango/pango-utils.c (pango_log2vis_get_embedding_levels): + Fix wrapper version to have boolean result. (#61248, + Eric Lemings.) + Tue Sep 25 11:54:03 2001 Owen Taylor * configure.in: Version 0.20 diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index bd0be075..4320d814 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,9 @@ +Thu Sep 27 12:08:23 2001 Owen Taylor + + * pango/pango-utils.c (pango_log2vis_get_embedding_levels): + Fix wrapper version to have boolean result. (#61248, + Eric Lemings.) + Tue Sep 25 11:54:03 2001 Owen Taylor * configure.in: Version 0.20 diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index bd0be075..4320d814 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,9 @@ +Thu Sep 27 12:08:23 2001 Owen Taylor + + * pango/pango-utils.c (pango_log2vis_get_embedding_levels): + Fix wrapper version to have boolean result. (#61248, + Eric Lemings.) + Tue Sep 25 11:54:03 2001 Owen Taylor * configure.in: Version 0.20 diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index bd0be075..4320d814 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,9 @@ +Thu Sep 27 12:08:23 2001 Owen Taylor + + * pango/pango-utils.c (pango_log2vis_get_embedding_levels): + Fix wrapper version to have boolean result. (#61248, + Eric Lemings.) + Tue Sep 25 11:54:03 2001 Owen Taylor * configure.in: Version 0.20 diff --git a/pango/pango-utils.c b/pango/pango-utils.c index ecde5310..66fa2567 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -1134,20 +1134,23 @@ pango_language_get_sample_string (PangoLanguage *language) #ifdef HAVE_FRIBIDI -void +gboolean pango_log2vis_get_embedding_levels (gunichar *str, int len, PangoDirection *pbase_dir, guint8 *embedding_level_list) { FriBidiCharType fribidi_base_dir; + gboolean result; fribidi_base_dir = (*pbase_dir == PANGO_DIRECTION_LTR) ? FRIBIDI_TYPE_L : FRIBIDI_TYPE_R; - fribidi_log2vis_get_embedding_levels (str, len, &fribidi_base_dir, - embedding_level_list); + result = fribidi_log2vis_get_embedding_levels (str, len, &fribidi_base_dir, + embedding_level_list); *pbase_dir = (fribidi_base_dir == FRIBIDI_TYPE_L) ? PANGO_DIRECTION_LTR : PANGO_DIRECTION_RTL; + + return result; } -- cgit v1.2.1