diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-10 10:39:00 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-17 14:01:09 -0600 |
commit | ac6d0822e809a78a32fea184dbf296a8b3668e7b (patch) | |
tree | 46cda5bf8406fc47bc9327693087d671394aba93 /pango/break.c | |
parent | f12eb6c0f1137cc90f3b5f03af13e70ca8101640 (diff) | |
download | pango-ac6d0822e809a78a32fea184dbf296a8b3668e7b.tar.gz |
Drop deprecated break api
Diffstat (limited to 'pango/break.c')
-rw-r--r-- | pango/break.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/pango/break.c b/pango/break.c index 05ec97c9..3b4b1b0d 100644 --- a/pango/break.c +++ b/pango/break.c @@ -2193,36 +2193,6 @@ pango_default_break (const char *text, } /** - * pango_break: - * @text: the text to process. Must be valid UTF-8 - * @length: length of @text in bytes (may be -1 if @text is nul-terminated) - * @analysis: `PangoAnalysis` structure for @text - * @attrs: (array length=attrs_len): an array to store character information in - * @attrs_len: size of the array passed as @attrs - * - * Determines possible line, word, and character breaks - * for a string of Unicode text with a single analysis. - * - * For most purposes you may want to use [func@Pango.get_log_attrs]. - * - * Deprecated: 1.44: Use [func@Pango.default_break], - * [func@Pango.tailor_break] and [func@Pango.attr_break]. - */ -void -pango_break (const char *text, - gint length, - PangoAnalysis *analysis, - PangoLogAttr *attrs, - int attrs_len) -{ - g_return_if_fail (analysis != NULL); - g_return_if_fail (attrs != NULL); - - default_break (text, length, analysis, attrs, attrs_len); - tailor_break (text, length, analysis, -1, attrs, attrs_len); -} - -/** * pango_tailor_break: * @text: text to process. Must be valid UTF-8 * @length: length in bytes of @text |