Pango constants ATTR_INDEX

In /opt/gtk/share/gir-1.0/Pango-1.0.gir we have

<constant name="ATTR_INDEX_FROM_TEXT_BEGINNING"
              value="0"
              c:type="PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING"
              version="1.24">
      <doc xml:space="preserve"
           filename="pango/pango-attributes.h"
           line="262">This value can be used to set the start_index member of a #PangoAttribute
such that the attribute covers from the beginning of the text.</doc>
      <source-position filename="pango/pango-attributes.h" line="278"/>
      <type name="gint" c:type="gint"/>
    </constant>

But PANGO_ATTR_INDEX_TO_TEXT_END seems to be missing. And type gint seems to be wrong, as attribute indices have data type guint.

Are these bugs I should report in issue tracker?

Yes, those should be marked as (type guint). Please, file an issue.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.