summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index dd38aee2..aecd1199 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -267,16 +267,17 @@ typedef enum {
*
* Since: 1.24
*/
+#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING ((guint)0)
+
/**
- * PANGO_ATTR_INDEX_TO_TEXT_END:
+ * PANGO_ATTR_INDEX_TO_TEXT_END: (value 4294967295)
*
* This value can be used to set the end_index member of a #PangoAttribute
* such that the attribute covers to the end of the text.
*
* Since: 1.24
*/
-#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING 0
-#define PANGO_ATTR_INDEX_TO_TEXT_END G_MAXUINT
+#define PANGO_ATTR_INDEX_TO_TEXT_END ((guint)(G_MAXUINT + 0))
/**
* PangoAttribute: