lsb

pango_log2vis_get_embedding_levels - wrong synopsis

Bug #1327855 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsb
Fix Committed
Medium
Unassigned
Mandriva
Fix Released
Medium

Bug Description

SQL to update pango_log2vis_get_embedding_levels synopsis

LSB 4.0 declares pango_log2vis_get_embedding_levels in the following way:

gboolean pango_log2vis_get_embedding_levels(
    gunichar * text,
    gint length,
    PangoDirection * pbase_dir,
    guint8 *);

However, Pango 1.10.4 Reference Manual (referenced by LSB 4.0), as well as
upstream header, have the following declaration:

guint8 * pango_log2vis_get_embedding_levels (const gchar *text,
                                             int length,
                                             PangoDirection *pbase_dir);

These two declarations doesn't seem to be compatible.

It seems that the change was made quite long ago, so probably LSB should be
just updated to match upstream - the SQL attached can be used to do this.

(Unfortunately, we don't have any tests for this function, and we even can't
see any applications using it, otherwise we could probably detect the change
earlier)

Tags: errata
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.