summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-22 16:20:37 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-22 16:20:37 +0000
commitf401cb1789400384aca0e3679e47213148c9403b (patch)
treeb2c949dda55a6199efdd35d0815acf384af8b065 /pango/pango-attributes.h
parent5319f448a052ab328deefea2a6a697fab2903ddf (diff)
parent2036d2b6be2254f97f23944b04a58d224bd1409d (diff)
downloadpango-f401cb1789400384aca0e3679e47213148c9403b.tar.gz
Merge branch 'better-hyphens' into 'master'
Better hyphens See merge request GNOME/pango!89
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 6f021c06..f7a0c1cb 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -147,6 +147,7 @@ typedef struct _PangoAttrIterator PangoAttrIterator;
* @PANGO_ATTR_FONT_FEATURES: OpenType font features (#PangoAttrString). Since 1.38
* @PANGO_ATTR_FOREGROUND_ALPHA: foreground alpha (#PangoAttrInt). Since 1.38
* @PANGO_ATTR_BACKGROUND_ALPHA: background alpha (#PangoAttrInt). Since 1.38
+ * @PANGO_ATTR_ALLOW_BREAKS: whether breaks are allowed (#PangoAttrInt). Since 1.44
*
* The #PangoAttrType
* distinguishes between different types of attributes. Along with the
@@ -182,7 +183,8 @@ typedef enum
PANGO_ATTR_GRAVITY_HINT, /* PangoAttrInt */
PANGO_ATTR_FONT_FEATURES, /* PangoAttrString */
PANGO_ATTR_FOREGROUND_ALPHA, /* PangoAttrInt */
- PANGO_ATTR_BACKGROUND_ALPHA /* PangoAttrInt */
+ PANGO_ATTR_BACKGROUND_ALPHA, /* PangoAttrInt */
+ PANGO_ATTR_ALLOW_BREAKS /* PangoAttrInt */
} PangoAttrType;
/**
@@ -522,6 +524,8 @@ PANGO_AVAILABLE_IN_1_38
PangoAttribute *pango_attr_foreground_alpha_new (guint16 alpha);
PANGO_AVAILABLE_IN_1_38
PangoAttribute *pango_attr_background_alpha_new (guint16 alpha);
+PANGO_AVAILABLE_IN_1_44
+PangoAttribute *pango_attr_allow_breaks_new (gboolean allow_breaks);
PANGO_AVAILABLE_IN_ALL
GType pango_attr_list_get_type (void) G_GNUC_CONST;