[pango/pango2: 27/178] Drop all versioned since tags
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 27/178] Drop all versioned since tags
- Date: Wed, 22 Jun 2022 20:10:11 +0000 (UTC)
commit 21d9630354f8231a4e60f39eadb7eccd9304fdff
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 5 07:36:33 2022 -0400
Drop all versioned since tags
pango/break.c | 4 ---
pango/glyphstring.c | 4 ---
pango/pango-attr-iterator.c | 2 --
pango/pango-attr-iterator.h | 4 +--
pango/pango-attr-list.c | 12 --------
pango/pango-attr-list.h | 14 +++++-----
pango/pango-attr.c | 2 --
pango/pango-attr.h | 6 +---
pango/pango-attributes.c | 40 --------------------------
pango/pango-attributes.h | 52 +++++++++++++++-------------------
pango/pango-bidi-type.c | 2 --
pango/pango-break.h | 11 ++++----
pango/pango-color.c | 4 ---
pango/pango-color.h | 4 +--
pango/pango-context.c | 26 +----------------
pango/pango-context.h | 24 ++++++++--------
pango/pango-font-description.c | 20 -------------
pango/pango-font-description.h | 38 ++++++++++++-------------
pango/pango-font-face.c | 12 --------
pango/pango-font-face.h | 4 +--
pango/pango-font-family.c | 6 ----
pango/pango-font-family.h | 6 ++--
pango/pango-font-metrics.c | 10 -------
pango/pango-font-metrics.h | 10 +++----
pango/pango-font.c | 14 ----------
pango/pango-font.h | 20 ++++++-------
pango/pango-fontmap.c | 8 ------
pango/pango-fontmap.h | 8 +++---
pango/pango-fontset.c | 4 ---
pango/pango-fontset.h | 4 +--
pango/pango-glyph-item.c | 24 ----------------
pango/pango-glyph-item.h | 28 +++++++++----------
pango/pango-glyph.h | 10 +++----
pango/pango-gravity.c | 8 ------
pango/pango-gravity.h | 16 +++--------
pango/pango-item.c | 2 --
pango/pango-item.h | 12 ++------
pango/pango-language.c | 10 -------
pango/pango-language.h | 8 +++---
pango/pango-layout.c | 2 --
pango/pango-markup.c | 4 ---
pango/pango-markup.h | 4 +--
pango/pango-matrix.c | 28 +------------------
pango/pango-matrix.h | 62 +++++++++++++++++++----------------------
pango/pango-renderer.c | 32 ---------------------
pango/pango-renderer.h | 40 +++++++++++---------------
pango/pango-script.c | 10 +------
pango/pango-script.h | 12 ++++----
pango/pango-tabs.c | 10 -------
pango/pango-tabs.h | 48 +++++++++++++++----------------
pango/pango-types.h | 11 ++------
pango/pango-userface.c | 2 --
pango/pango-userfont.c | 4 ---
pango/pango-utils-internal.h | 4 +--
pango/pango-utils.c | 16 -----------
pango/pango-utils.h | 30 ++++++++++----------
pango/pangocairo-context.c | 16 -----------
pango/pangocairo-font.c | 2 --
pango/pangocairo-fontmap.c | 14 ----------
pango/pangocairo-render.c | 14 ----------
pango/pangocairo.h | 56 +++++++++++++++++--------------------
pango/pangocoretext-hbfontmap.h | 4 +--
pango/pangocoretext.c | 2 --
pango/pangocoretext.h | 2 +-
pango/pangofc-hbfontmap.c | 6 ----
pango/pangowin32-fontcache.c | 2 --
pango/pangowin32-fontmap.c | 4 ---
pango/pangowin32.c | 6 +---
pango/serializer.c | 4 ---
pango/shape.c | 4 ---
70 files changed, 253 insertions(+), 695 deletions(-)
---
diff --git a/pango/break.c b/pango/break.c
index dbfc88fc7..05e1aea57 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -2205,8 +2205,6 @@ pango_default_break (const char *text,
*
* Note that it is better to pass -1 for @offset and use [func@Pango.attr_break]
* to apply attributes to the whole paragraph.
- *
- * Since: 1.44
*/
void
pango_tailor_break (const char *text,
@@ -2247,8 +2245,6 @@ pango_tailor_break (const char *text,
*
* The line breaks are assumed to have been produced
* by [func@Pango.default_break] and [func@Pango.tailor_break].
- *
- * Since: 1.50
*/
void
pango_attr_break (const char *text,
diff --git a/pango/glyphstring.c b/pango/glyphstring.c
index f12f15f2c..baec223d3 100644
--- a/pango/glyphstring.c
+++ b/pango/glyphstring.c
@@ -296,8 +296,6 @@ pango_glyph_string_extents (PangoGlyphString *glyphs,
* @geometry.width for each glyph in the @glyphs.
*
* Return value: the logical width of the glyph string.
- *
- * Since: 1.14
*/
int
pango_glyph_string_get_width (PangoGlyphString *glyphs)
@@ -414,8 +412,6 @@ pango_glyph_string_index_to_x (PangoGlyphString *glyphs,
* accepts a `PangoLogAttr` array. The grapheme boundary information
* in it can be used to disambiguate positioning inside some complex
* clusters.
- *
- * Since: 1.50
*/
void
pango_glyph_string_index_to_x_full (PangoGlyphString *glyphs,
diff --git a/pango/pango-attr-iterator.c b/pango/pango-attr-iterator.c
index 027654253..a3685655f 100644
--- a/pango/pango-attr-iterator.c
+++ b/pango/pango-attr-iterator.c
@@ -467,8 +467,6 @@ pango_attr_iterator_get_font (PangoAttrIterator *iterator,
* a list of all attributes for the current range. To free
* this value, call [method@Pango.Attribute.destroy] on each
* value and g_slist_free() on the list.
- *
- * Since: 1.2
*/
GSList *
pango_attr_iterator_get_attrs (PangoAttrIterator *iterator)
diff --git a/pango/pango-attr-iterator.h b/pango/pango-attr-iterator.h
index 1ff1e7b2e..f41f8edbb 100644
--- a/pango/pango-attr-iterator.h
+++ b/pango/pango-attr-iterator.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
* currently in effect can be queried.
*/
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
GType pango_attr_iterator_get_type (void) G_GNUC_CONST;
PANGO_AVAILABLE_IN_ALL
@@ -58,7 +58,7 @@ void pango_attr_iterator_get_font (PangoAttrIterator *
PangoFontDescription *desc,
PangoLanguage **language,
GSList **extra_attrs);
-PANGO_AVAILABLE_IN_1_2
+PANGO_AVAILABLE_IN_ALL
GSList * pango_attr_iterator_get_attrs (PangoAttrIterator *iterator);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoAttrIterator, pango_attr_iterator_destroy)
diff --git a/pango/pango-attr-list.c b/pango/pango-attr-list.c
index 5a639b35d..cb6b423bd 100644
--- a/pango/pango-attr-list.c
+++ b/pango/pango-attr-list.c
@@ -133,8 +133,6 @@ pango_attr_list_new (void)
* list by one.
*
* Return value: The attribute list passed in
- *
- * Since: 1.10
*/
PangoAttrList *
pango_attr_list_ref (PangoAttrList *list)
@@ -424,8 +422,6 @@ pango_attr_list_change (PangoAttrList *list,
*
* Attributes start and end positions are updated if they are
* behind @pos + @remove.
- *
- * Since: 1.44
*/
void
pango_attr_list_update (PangoAttrList *list,
@@ -596,8 +592,6 @@ pango_attr_list_splice (PangoAttrList *list,
* a list of all attributes in @list. To free this value,
* call [method@Pango.Attribute.destroy] on each value and
* g_slist_free() on the list.
- *
- * Since: 1.44
*/
GSList *
pango_attr_list_get_attributes (PangoAttrList *list)
@@ -634,8 +628,6 @@ pango_attr_list_get_attributes (PangoAttrList *list)
*
* Return value: %TRUE if the lists are equal, %FALSE if
* they aren't
- *
- * Since: 1.46
*/
gboolean
pango_attr_list_equal (PangoAttrList *list,
@@ -706,8 +698,6 @@ pango_attr_list_equal (PangoAttrList *list,
* Return value: (transfer full) (nullable): the new
* `PangoAttrList` or %NULL if no attributes of the
* given types were found
- *
- * Since: 1.2
*/
PangoAttrList *
pango_attr_list_filter (PangoAttrList *list,
@@ -893,7 +883,6 @@ attr_print (GString *str,
* storage format.
*
* Returns: (transfer full): a newly allocated string
- * Since: 1.50
*/
char *
pango_attr_list_to_string (PangoAttrList *list)
@@ -978,7 +967,6 @@ is_valid_end_char (char c)
* See that functions for details about the format.
*
* Returns: (transfer full) (nullable): a new `PangoAttrList`
- * Since: 1.50
*/
PangoAttrList *
pango_attr_list_from_string (const char *text)
diff --git a/pango/pango-attr-list.h b/pango/pango-attr-list.h
index f08706b2a..4eac91832 100644
--- a/pango/pango-attr-list.h
+++ b/pango/pango-attr-list.h
@@ -47,7 +47,7 @@ GType pango_attr_list_get_type (void) G_GNUC_CONST;
PANGO_AVAILABLE_IN_ALL
PangoAttrList * pango_attr_list_new (void);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
PangoAttrList * pango_attr_list_ref (PangoAttrList *list);
PANGO_AVAILABLE_IN_ALL
void pango_attr_list_unref (PangoAttrList *list);
@@ -67,7 +67,7 @@ void pango_attr_list_splice (PangoAttrList *
PangoAttrList *other,
int pos,
int len);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
void pango_attr_list_update (PangoAttrList *list,
int pos,
int remove,
@@ -86,21 +86,21 @@ void pango_attr_list_update (PangoAttrList *
typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute,
gpointer user_data);
-PANGO_AVAILABLE_IN_1_2
+PANGO_AVAILABLE_IN_ALL
PangoAttrList * pango_attr_list_filter (PangoAttrList *list,
PangoAttrFilterFunc func,
gpointer data);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
GSList * pango_attr_list_get_attributes (PangoAttrList *list);
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
gboolean pango_attr_list_equal (PangoAttrList *list,
PangoAttrList *other_list);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
char * pango_attr_list_to_string (PangoAttrList *list);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttrList * pango_attr_list_from_string (const char *text);
PANGO_AVAILABLE_IN_ALL
diff --git a/pango/pango-attr.c b/pango/pango-attr.c
index 0d8d9f551..185ebcaa3 100644
--- a/pango/pango-attr.c
+++ b/pango/pango-attr.c
@@ -211,8 +211,6 @@ pango_attr_type_register (const char *name,
* Return value: (nullable): the type ID name (which
* may be %NULL), or %NULL if @type is a built-in Pango
* attribute type or invalid.
- *
- * Since: 1.22
*/
const char *
pango_attr_type_get_name (guint type)
diff --git a/pango/pango-attr.h b/pango/pango-attr.h
index adf87bc7e..1fbbd63a4 100644
--- a/pango/pango-attr.h
+++ b/pango/pango-attr.h
@@ -150,8 +150,6 @@ typedef enum
*
* Value for @start_index in `PangoAttribute` that indicates
* the beginning of the text.
- *
- * Since: 1.24
*/
#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING ((guint)0)
@@ -160,8 +158,6 @@ typedef enum
*
* Value for @end_index in `PangoAttribute` that indicates
* the end of the text.
- *
- * Since: 1.24
*/
#define PANGO_ATTR_INDEX_TO_TEXT_END ((guint)(G_MAXUINT + 0))
@@ -241,7 +237,7 @@ guint pango_attr_type_register (const char
GEqualFunc equal,
PangoAttrDataSerializeFunc serialize);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
const char * pango_attr_type_get_name (guint type)
G_GNUC_CONST;
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attribute_copy (const PangoAttribute *attr);
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 522db6054..64b46aa07 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -232,8 +232,6 @@ pango_attr_size_new (int value)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.8
*/
PangoAttribute *
pango_attr_size_new_absolute (int size)
@@ -351,8 +349,6 @@ pango_attr_underline_new (PangoLineStyle style)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.8
*/
PangoAttribute *
pango_attr_underline_color_new (PangoColor *color)
@@ -393,8 +389,6 @@ pango_attr_strikethrough_new (PangoLineStyle style)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.8
*/
PangoAttribute *
pango_attr_strikethrough_color_new (PangoColor *color)
@@ -438,8 +432,6 @@ pango_attr_rise_new (int rise)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.50
*/
PangoAttribute *
pango_attr_baseline_shift_new (int rise)
@@ -460,8 +452,6 @@ pango_attr_baseline_shift_new (int rise)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.50
*/
PangoAttribute *
pango_attr_font_scale_new (PangoFontScale scale)
@@ -503,8 +493,6 @@ pango_attr_scale_new (double scale_factor)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.4
*/
PangoAttribute *
pango_attr_fallback_new (gboolean enable_fallback)
@@ -522,8 +510,6 @@ pango_attr_fallback_new (gboolean enable_fallback)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.6
*/
PangoAttribute *
pango_attr_letter_spacing_new (int letter_spacing)
@@ -540,8 +526,6 @@ pango_attr_letter_spacing_new (int letter_spacing)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.16
*/
PangoAttribute *
pango_attr_gravity_new (PangoGravity gravity)
@@ -560,8 +544,6 @@ pango_attr_gravity_new (PangoGravity gravity)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.16
*/
PangoAttribute *
pango_attr_gravity_hint_new (PangoGravityHint hint)
@@ -582,8 +564,6 @@ pango_attr_gravity_hint_new (PangoGravityHint hint)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.38
*/
PangoAttribute *
pango_attr_font_features_new (const char *features)
@@ -602,8 +582,6 @@ pango_attr_font_features_new (const char *features)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.38
*/
PangoAttribute *
pango_attr_foreground_alpha_new (guint16 alpha)
@@ -620,8 +598,6 @@ pango_attr_foreground_alpha_new (guint16 alpha)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.38
*/
PangoAttribute *
pango_attr_background_alpha_new (guint16 alpha)
@@ -641,8 +617,6 @@ pango_attr_background_alpha_new (guint16 alpha)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.44
*/
PangoAttribute *
pango_attr_allow_breaks_new (gboolean allow_breaks)
@@ -663,8 +637,6 @@ pango_attr_allow_breaks_new (gboolean allow_breaks)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.44
*/
PangoAttribute *
pango_attr_insert_hyphens_new (gboolean insert_hyphens)
@@ -682,8 +654,6 @@ pango_attr_insert_hyphens_new (gboolean insert_hyphens)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.44
**/
PangoAttribute *
pango_attr_show_new (PangoShowFlags flags)
@@ -703,8 +673,6 @@ pango_attr_show_new (PangoShowFlags flags)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.50
*/
PangoAttribute *
pango_attr_word_new (void)
@@ -724,8 +692,6 @@ pango_attr_word_new (void)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.50
*/
PangoAttribute *
pango_attr_sentence_new (void)
@@ -760,8 +726,6 @@ pango_attr_paragraph_new (void)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.46
*/
PangoAttribute *
pango_attr_overline_new (PangoOverline overline)
@@ -781,8 +745,6 @@ pango_attr_overline_new (PangoOverline overline)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.46
*/
PangoAttribute *
pango_attr_overline_color_new (PangoColor *color)
@@ -852,8 +814,6 @@ pango_attr_line_spacing_new (int spacing)
* Return value: (transfer full): the newly allocated
* `PangoAttribute`, which should be freed with
* [method@Pango.Attribute.destroy]
- *
- * Since: 1.50
*/
PangoAttribute *
pango_attr_text_transform_new (PangoTextTransform transform)
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 19f1a6084..2ef507e45 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -135,7 +135,7 @@ PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_background_new (PangoColor *color);
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_size_new (int size);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_size_new_absolute (int size);
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_style_new (PangoStyle style);
@@ -168,7 +168,7 @@ typedef enum {
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_underline_new (PangoLineStyle style);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_underline_color_new (PangoColor *color);
typedef enum {
@@ -181,7 +181,7 @@ PangoAttribute * pango_attr_underline_position_new (PangoUnderlineP
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_strikethrough_new (PangoLineStyle style);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_strikethrough_color_new (PangoColor *color);
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_rise_new (int rise);
@@ -195,8 +195,6 @@ PangoAttribute * pango_attr_rise_new (int
* relative to the previous run
*
* An enumeration that affects baseline shifts between runs.
- *
- * Since: 1.50
*/
typedef enum {
PANGO_BASELINE_SHIFT_NONE,
@@ -204,7 +202,7 @@ typedef enum {
PANGO_BASELINE_SHIFT_SUBSCRIPT,
} PangoBaselineShift;
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_baseline_shift_new (int shift);
/**
@@ -216,8 +214,6 @@ PangoAttribute * pango_attr_baseline_shift_new (int
*
* An enumeration that affects font sizes for superscript
* and subscript positioning and for (emulated) Small Caps.
- *
- * Since: 1.50
*/
typedef enum {
PANGO_FONT_SCALE_NONE,
@@ -226,34 +222,34 @@ typedef enum {
PANGO_FONT_SCALE_SMALL_CAPS,
} PangoFontScale;
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_font_scale_new (PangoFontScale scale);
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_scale_new (double scale_factor);
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_fallback_new (gboolean
enable_fallback);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_letter_spacing_new (int letter_spacing);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_gravity_new (PangoGravity gravity);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_gravity_hint_new (PangoGravityHint hint);
-PANGO_AVAILABLE_IN_1_38
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_font_features_new (const char *features);
-PANGO_AVAILABLE_IN_1_38
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_foreground_alpha_new (guint16 alpha);
-PANGO_AVAILABLE_IN_1_38
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_background_alpha_new (guint16 alpha);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_allow_breaks_new (gboolean allow_breaks);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_word_new (void);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_sentence_new (void);
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_paragraph_new (void);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_insert_hyphens_new (gboolean
insert_hyphens);
/**
@@ -264,17 +260,15 @@ PangoAttribute * pango_attr_insert_hyphens_new (gboolean
*
* The `PangoOverline` enumeration is used to specify whether text
* should be overlined, and if so, the type of line.
- *
- * Since: 1.46
*/
typedef enum {
PANGO_OVERLINE_NONE,
PANGO_OVERLINE_SINGLE
} PangoOverline;
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_overline_new (PangoOverline overline);
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_overline_color_new (PangoColor *color);
/**
@@ -287,8 +281,6 @@ PangoAttribute * pango_attr_overline_color_new (PangoColor
*
* These flags affect how Pango treats characters that are normally
* not visible in the output.
- *
- * Since: 1.44
*/
typedef enum {
PANGO_SHOW_NONE = 0,
@@ -297,11 +289,11 @@ typedef enum {
PANGO_SHOW_IGNORABLES = 1 << 2
} PangoShowFlags;
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_show_new (PangoShowFlags flags);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_line_height_new (double factor);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_line_height_new_absolute (int height);
PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_line_spacing_new (int spacing);
@@ -323,7 +315,7 @@ typedef enum {
PANGO_TEXT_TRANSFORM_CAPITALIZE,
} PangoTextTransform;
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoAttribute * pango_attr_text_transform_new (PangoTextTransform transform);
diff --git a/pango/pango-bidi-type.c b/pango/pango-bidi-type.c
index 8aa76983a..1e789a6e3 100644
--- a/pango/pango-bidi-type.c
+++ b/pango/pango-bidi-type.c
@@ -47,8 +47,6 @@
*
* Return value: a newly allocated array of embedding levels, one item per
* character (not byte), that should be freed using [func GLib free].
- *
- * Since: 1.4
*/
guint8 *
pango_log2vis_get_embedding_levels (const gchar *text,
diff --git a/pango/pango-break.h b/pango/pango-break.h
index 552742113..4ff511777 100644
--- a/pango/pango-break.h
+++ b/pango/pango-break.h
@@ -65,17 +65,16 @@ G_BEGIN_DECLS
* implementation of [func@break], this bit is set on all grapheme boundaries
* except those following Latin, Cyrillic or Greek base characters.
* @is_expandable_space: is a whitespace character that can possibly be
- * expanded for justification purposes. (Since: 1.18)
+ * expanded for justification purposes.
* @is_word_boundary: is a word boundary, as defined by UAX#29.
* More specifically, means that this is not a position in the middle of a word.
* For example, both sides of a punctuation mark are considered word boundaries.
* This flag is particularly useful when selecting text word-by-word. This flag
* implements Unicode's [Word Boundaries](http://www.unicode.org/reports/tr29/)
- * semantics. (Since: 1.22)
+ * semantics.
* @break_inserts_hyphen: when breaking lines before this char, insert a hyphen.
- * Since: 1.50
* @break_removes_preceding: when breaking lines before this char, remove the
- * preceding char. Since 1.50
+ * preceding char.
*
* The `PangoLogAttr` structure stores information about the attributes of a
* single character.
@@ -116,7 +115,7 @@ void pango_default_break (const char *text,
PangoLogAttr *attrs,
int attrs_len);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
void pango_tailor_break (const char *text,
int length,
PangoAnalysis *analysis,
@@ -124,7 +123,7 @@ void pango_tailor_break (const char *text,
PangoLogAttr *attrs,
int attrs_len);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
void pango_attr_break (const char *text,
int length,
PangoAttrList *attr_list,
diff --git a/pango/pango-color.c b/pango/pango-color.c
index 7e7c4a24c..6d7f70dc5 100644
--- a/pango/pango-color.c
+++ b/pango/pango-color.c
@@ -88,8 +88,6 @@ pango_color_free (PangoColor *color)
*
* Return value: a newly-allocated text string that must
* be freed with g_free().
- *
- * Since: 1.16
*/
gchar *
pango_color_to_string (const PangoColor *color)
@@ -235,8 +233,6 @@ hex (const char *spec,
*
* Return value: %TRUE if parsing of the specifier succeeded,
* otherwise %FALSE
- *
- * Since: 1.46
*/
gboolean
pango_color_parse_with_alpha (PangoColor *color,
diff --git a/pango/pango-color.h b/pango/pango-color.h
index 675d8e829..195183ef1 100644
--- a/pango/pango-color.h
+++ b/pango/pango-color.h
@@ -61,12 +61,12 @@ PANGO_AVAILABLE_IN_ALL
gboolean pango_color_parse (PangoColor *color,
const char *spec);
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
gboolean pango_color_parse_with_alpha (PangoColor *color,
guint16 *alpha,
const char *spec);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
char *pango_color_to_string (const PangoColor *color);
diff --git a/pango/pango-context.c b/pango/pango-context.c
index a27fcf1f7..bd1c75aa4 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -160,8 +160,6 @@ update_resolved_gravity (PangoContext *context)
* application of the matrix. So, they don't scale with the matrix, though
* they may change slightly for different matrices, depending on how the
* text is fit to the pixel grid.
- *
- * Since: 1.6
*/
void
pango_context_set_matrix (PangoContext *context,
@@ -194,8 +192,6 @@ pango_context_set_matrix (PangoContext *context,
* Return value: (nullable): the matrix, or %NULL if no matrix has
* been set (which is the same as the identity matrix). The returned
* matrix is owned by Pango and must not be modified or freed.
- *
- * Since: 1.6
*/
const PangoMatrix *
pango_context_get_matrix (PangoContext *context)
@@ -247,8 +243,6 @@ pango_context_set_font_map (PangoContext *context,
*
* Return value: (transfer none): the font map for the `PangoContext`.
* This value is owned by Pango and should not be unreferenced.
- *
- * Since: 1.6
*/
PangoFontMap *
pango_context_get_font_map (PangoContext *context)
@@ -436,8 +430,6 @@ pango_context_get_base_dir (PangoContext *context)
* Sets the base gravity for the context.
*
* The base gravity is used in laying vertical text out.
- *
- * Since: 1.16
*/
void
pango_context_set_base_gravity (PangoContext *context,
@@ -462,8 +454,6 @@ pango_context_set_base_gravity (PangoContext *context,
* See [method@Pango.Context.set_base_gravity].
*
* Return value: the base gravity for the context.
- *
- * Since: 1.16
*/
PangoGravity
pango_context_get_base_gravity (PangoContext *context)
@@ -485,8 +475,6 @@ pango_context_get_base_gravity (PangoContext *context)
* gravity from the current context matrix.
*
* Return value: the resolved gravity for the context.
- *
- * Since: 1.16
*/
PangoGravity
pango_context_get_gravity (PangoContext *context)
@@ -507,8 +495,6 @@ pango_context_get_gravity (PangoContext *context)
* is only relevant if gravity of the context as returned by
* [method@Pango.Context.get_gravity] is set to %PANGO_GRAVITY_EAST
* or %PANGO_GRAVITY_WEST.
- *
- * Since: 1.16
*/
void
pango_context_set_gravity_hint (PangoContext *context,
@@ -531,8 +517,6 @@ pango_context_set_gravity_hint (PangoContext *context,
* See [method@Pango.Context.set_gravity_hint] for details.
*
* Return value: the gravity hint for the context.
- *
- * Since: 1.16
*/
PangoGravityHint
pango_context_get_gravity_hint (PangoContext *context)
@@ -723,9 +707,7 @@ context_changed (PangoContext *context)
* for Pango, something applications won't do. Backends should
* call this function if they have attached extra data to the context
* and such data is changed.
- *
- * Since: 1.32.4
- **/
+ */
void
pango_context_changed (PangoContext *context)
{
@@ -764,8 +746,6 @@ check_fontmap_changed (PangoContext *context)
* `PangoContext` changes, like `PangoLayout`.
*
* Return value: The current serial number of @context.
- *
- * Since: 1.32.4
*/
guint
pango_context_get_serial (PangoContext *context)
@@ -788,8 +768,6 @@ pango_context_get_serial (PangoContext *context)
*
* The default value is to round glyph positions, to remain
* compatible with previous Pango behavior.
- *
- * Since: 1.44
*/
void
pango_context_set_round_glyph_positions (PangoContext *context,
@@ -808,8 +786,6 @@ pango_context_set_round_glyph_positions (PangoContext *context,
*
* Returns whether font rendering with this context should
* round glyph positions and widths.
- *
- * Since: 1.44
*/
gboolean
pango_context_get_round_glyph_positions (PangoContext *context)
diff --git a/pango/pango-context.h b/pango/pango-context.h
index 484f35b67..72ca3be8d 100644
--- a/pango/pango-context.h
+++ b/pango/pango-context.h
@@ -45,14 +45,14 @@ GType pango_context_get_type (void) G_GNUC_CO
PANGO_AVAILABLE_IN_ALL
PangoContext * pango_context_new (void);
-PANGO_AVAILABLE_IN_1_32
+PANGO_AVAILABLE_IN_ALL
void pango_context_changed (PangoContext *context);
PANGO_AVAILABLE_IN_ALL
void pango_context_set_font_map (PangoContext *context,
PangoFontMap *font_map);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
PangoFontMap * pango_context_get_font_map (PangoContext *context);
-PANGO_AVAILABLE_IN_1_32
+PANGO_AVAILABLE_IN_ALL
guint pango_context_get_serial (PangoContext *context);
PANGO_AVAILABLE_IN_ALL
PangoFont * pango_context_load_font (PangoContext *context,
@@ -82,29 +82,29 @@ void pango_context_set_base_dir (PangoContext
PangoDirection direction);
PANGO_AVAILABLE_IN_ALL
PangoDirection pango_context_get_base_dir (PangoContext *context);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
void pango_context_set_base_gravity (PangoContext *context,
PangoGravity gravity);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoGravity pango_context_get_base_gravity (PangoContext *context);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoGravity pango_context_get_gravity (PangoContext *context);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
void pango_context_set_gravity_hint (PangoContext *context,
PangoGravityHint hint);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoGravityHint pango_context_get_gravity_hint (PangoContext *context);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
void pango_context_set_matrix (PangoContext *context,
const PangoMatrix *matrix);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
const PangoMatrix * pango_context_get_matrix (PangoContext *context);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
void pango_context_set_round_glyph_positions (PangoContext *context,
gboolean
round_positions);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
gboolean pango_context_get_round_glyph_positions (PangoContext *context);
G_END_DECLS
diff --git a/pango/pango-font-description.c b/pango/pango-font-description.c
index 86349d7d9..3aac7d663 100644
--- a/pango/pango-font-description.c
+++ b/pango/pango-font-description.c
@@ -404,8 +404,6 @@ pango_font_description_get_size (const PangoFontDescription *desc)
*
* This is mutually exclusive with [method@Pango.FontDescription.set_size]
* which sets the font size in points.
- *
- * Since: 1.8
*/
void
pango_font_description_set_absolute_size (PangoFontDescription *desc,
@@ -433,8 +431,6 @@ pango_font_description_set_absolute_size (PangoFontDescription *desc,
* points or device units. Use [method@Pango.FontDescription.get_set_fields]
* to find out if the size field of the font description was explicitly
* set or not.
- *
- * Since: 1.8
*/
gboolean
pango_font_description_get_size_is_absolute (const PangoFontDescription *desc)
@@ -458,8 +454,6 @@ pango_font_description_get_size_is_absolute (const PangoFontDescription *desc)
*
* This function is seldom useful to the user. Gravity should normally
* be set on a `PangoContext`.
- *
- * Since: 1.16
*/
void
pango_font_description_set_gravity (PangoFontDescription *desc,
@@ -488,8 +482,6 @@ pango_font_description_set_gravity (PangoFontDescription *desc,
* Return value: the gravity field for the font description.
* Use [method@Pango.FontDescription.get_set_fields] to find out
* if the field was explicitly set or not.
- *
- * Since: 1.16
*/
PangoGravity
pango_font_description_get_gravity (const PangoFontDescription *desc)
@@ -512,8 +504,6 @@ pango_font_description_get_gravity (const PangoFontDescription *desc)
* or the name is set again. This function can be used if
* @variations is a static string such as a C string literal,
* or if @desc is only needed temporarily.
- *
- * Since: 1.42
*/
void
pango_font_description_set_variations_static (PangoFontDescription *desc,
@@ -562,8 +552,6 @@ pango_font_description_set_variations_static (PangoFontDescription *desc,
* Pango does not currently have a way to find supported axes of
* a font. Both harfbuzz and freetype have API for this. See
* for example
[hb_ot_var_get_axis_infos](https://harfbuzz.github.io/harfbuzz-hb-ot-var.html#hb-ot-var-get-axis-infos).
- *
- * Since: 1.42
*/
void
pango_font_description_set_variations (PangoFontDescription *desc,
@@ -587,8 +575,6 @@ pango_font_description_set_variations (PangoFontDescription *desc,
* Return value: (nullable): the variations field for the font
* description, or %NULL if not previously set. This has the same
* life-time as the font description itself and should not be freed.
- *
- * Since: 1.42
*/
const char *
pango_font_description_get_variations (const PangoFontDescription *desc)
@@ -1753,8 +1739,6 @@ pango_parse_stretch (const char *str,
* or the name is set again. This function can be used if
* @faceid is a static string such as a C string literal,
* or if @desc is only needed temporarily.
- *
- * Since: 1.52
*/
void
pango_font_description_set_faceid_static (PangoFontDescription *desc,
@@ -1799,8 +1783,6 @@ pango_font_description_set_faceid_static (PangoFontDescription *desc,
* loading a fontset or font.
*
* The format of this string is not guaranteed.
- *
- * Since: 1.52
*/
void
pango_font_description_set_faceid (PangoFontDescription *desc,
@@ -1824,8 +1806,6 @@ pango_font_description_set_faceid (PangoFontDescription *desc,
* Return value: (nullable): the faceid field for the font
* description, or %NULL if not previously set. This has the same
* life-time as the font description itself and should not be freed.
- *
- * Since: 1.52
*/
const char *
pango_font_description_get_faceid (const PangoFontDescription *desc)
diff --git a/pango/pango-font-description.h b/pango/pango-font-description.h
index 999a276c8..f3615cba8 100644
--- a/pango/pango-font-description.h
+++ b/pango/pango-font-description.h
@@ -57,17 +57,17 @@ typedef enum {
* @PANGO_VARIANT_SMALL_CAPS: A font with the lower case characters
* replaced by smaller variants of the capital characters.
* @PANGO_VARIANT_ALL_SMALL_CAPS: A font with all characters
- * replaced by smaller variants of the capital characters. Since: 1.50
+ * replaced by smaller variants of the capital characters.
* @PANGO_VARIANT_PETITE_CAPS: A font with the lower case characters
* replaced by smaller variants of the capital characters.
- * Petite Caps can be even smaller than Small Caps. Since: 1.50
+ * Petite Caps can be even smaller than Small Caps.
* @PANGO_VARIANT_ALL_PETITE_CAPS: A font with all characters
* replaced by smaller variants of the capital characters.
- * Petite Caps can be even smaller than Small Caps. Since: 1.50
+ * Petite Caps can be even smaller than Small Caps.
* @PANGO_VARIANT_UNICASE: A font with the upper case characters
- * replaced by smaller variants of the capital letters. Since: 1.50
+ * replaced by smaller variants of the capital letters.
* @PANGO_VARIANT_TITLE_CAPS: A font with capital letters that
- * are more suitable for all-uppercase titles. Since: 1.50
+ * are more suitable for all-uppercase titles.
*
* An enumeration specifying capitalization variant of the font.
*/
@@ -83,18 +83,18 @@ typedef enum {
/**
* PangoWeight:
- * @PANGO_WEIGHT_THIN: the thin weight (= 100) Since: 1.24
+ * @PANGO_WEIGHT_THIN: the thin weight (= 100)
* @PANGO_WEIGHT_ULTRALIGHT: the ultralight weight (= 200)
* @PANGO_WEIGHT_LIGHT: the light weight (= 300)
- * @PANGO_WEIGHT_SEMILIGHT: the semilight weight (= 350) Since: 1.36.7
- * @PANGO_WEIGHT_BOOK: the book weight (= 380) Since: 1.24)
+ * @PANGO_WEIGHT_SEMILIGHT: the semilight weight (= 350)
+ * @PANGO_WEIGHT_BOOK: the book weight (= 380)
* @PANGO_WEIGHT_NORMAL: the default weight (= 400)
- * @PANGO_WEIGHT_MEDIUM: the normal weight (= 500) Since: 1.24
+ * @PANGO_WEIGHT_MEDIUM: the normal weight (= 500)
* @PANGO_WEIGHT_SEMIBOLD: the semibold weight (= 600)
* @PANGO_WEIGHT_BOLD: the bold weight (= 700)
* @PANGO_WEIGHT_ULTRABOLD: the ultrabold weight (= 800)
* @PANGO_WEIGHT_HEAVY: the heavy weight (= 900)
- * @PANGO_WEIGHT_ULTRAHEAVY: the ultraheavy weight (= 1000) Since: 1.24
+ * @PANGO_WEIGHT_ULTRAHEAVY: the ultraheavy weight (= 1000)
*
* An enumeration specifying the weight (boldness) of a font.
*
@@ -154,8 +154,8 @@ typedef enum {
* @PANGO_FONT_MASK_WEIGHT: the font weight is specified.
* @PANGO_FONT_MASK_STRETCH: the font stretch is specified.
* @PANGO_FONT_MASK_SIZE: the font size is specified.
- * @PANGO_FONT_MASK_GRAVITY: the font gravity is specified (Since: 1.16.)
- * @PANGO_FONT_MASK_VARIATIONS: OpenType font variations are specified (Since: 1.42)
+ * @PANGO_FONT_MASK_GRAVITY: the font gravity is specified
+ * @PANGO_FONT_MASK_VARIATIONS: OpenType font variations are specified
* @PANGO_FONT_MASK_FACEID: the face ID is specified
*
* The bits in a `PangoFontMask` correspond to the set fields in a
@@ -269,24 +269,24 @@ void pango_font_description_set_size (PangoFontDescr
int size);
PANGO_AVAILABLE_IN_ALL
int pango_font_description_get_size (const PangoFontDescription *desc)
G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_font_description_set_absolute_size (PangoFontDescription *desc,
double size);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
gboolean pango_font_description_get_size_is_absolute (const PangoFontDescription *desc)
G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
void pango_font_description_set_gravity (PangoFontDescription *desc,
PangoGravity gravity);
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoGravity pango_font_description_get_gravity (const PangoFontDescription *desc)
G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_42
+PANGO_AVAILABLE_IN_ALL
void pango_font_description_set_variations_static (PangoFontDescription *desc,
const char
*variations);
-PANGO_AVAILABLE_IN_1_42
+PANGO_AVAILABLE_IN_ALL
void pango_font_description_set_variations (PangoFontDescription *desc,
const char *variations);
-PANGO_AVAILABLE_IN_1_42
+PANGO_AVAILABLE_IN_ALL
const char * pango_font_description_get_variations (const PangoFontDescription *desc)
G_GNUC_PURE;
PANGO_AVAILABLE_IN_ALL
diff --git a/pango/pango-font-face.c b/pango/pango-font-face.c
index 7ac41df26..5165a9b06 100644
--- a/pango/pango-font-face.c
+++ b/pango/pango-font-face.c
@@ -123,8 +123,6 @@ pango_font_face_describe (PangoFontFace *face)
* lightening or modifying it in some other way.
*
* Return value: whether @face is synthesized
- *
- * Since: 1.18
*/
gboolean
pango_font_face_is_synthesized (PangoFontFace *face)
@@ -165,8 +163,6 @@ pango_font_face_get_face_name (PangoFontFace *face)
* Gets the `PangoFontFamily` that @face belongs to.
*
* Returns: (transfer none): the `PangoFontFamily`
- *
- * Since: 1.46
*/
PangoFontFamily *
pango_font_face_get_family (PangoFontFace *face)
@@ -186,8 +182,6 @@ pango_font_face_get_family (PangoFontFace *face)
* See [method@Pango.FontFamily.is_monospace] for more details.
*
* Returns: `TRUE` if @face is monospace
- *
- * Since: 1.52
*/
gboolean
pango_font_face_is_monospace (PangoFontFace *face)
@@ -207,8 +201,6 @@ pango_font_face_is_monospace (PangoFontFace *face)
* See [method@Pango.FontFamily.is_variable] for more details.
*
* Returns: `TRUE` if @face is variable
- *
- * Since: 1.52
*/
gboolean
pango_font_face_is_variable (PangoFontFace *face)
@@ -226,8 +218,6 @@ pango_font_face_is_variable (PangoFontFace *face)
* Returns whether @face has all the glyphs necessary to write @language.
*
* Returns: `TRUE` if @face supports @language
- *
- * Since: 1.52
*/
gboolean
pango_font_face_supports_language (PangoFontFace *face,
@@ -253,8 +243,6 @@ pango_font_face_supports_language (PangoFontFace *face,
*
* Returns: (transfer none) (nullable) (array zero-terminated=1) (element-type PangoLanguage):
* an array of `PangoLanguage`
- *
- * Since: 1.52
*/
PangoLanguage **
pango_font_face_get_languages (PangoFontFace *face)
diff --git a/pango/pango-font-face.h b/pango/pango-font-face.h
index 64e55efb0..09e6b576a 100644
--- a/pango/pango-font-face.h
+++ b/pango/pango-font-face.h
@@ -35,14 +35,14 @@ PANGO_AVAILABLE_IN_ALL
PangoFontDescription * pango_font_face_describe (PangoFontFace *face);
PANGO_AVAILABLE_IN_ALL
const char * pango_font_face_get_face_name (PangoFontFace *face) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_18
+PANGO_AVAILABLE_IN_ALL
gboolean pango_font_face_is_synthesized (PangoFontFace *face) G_GNUC_PURE;
PANGO_AVAILABLE_IN_ALL
gboolean pango_font_face_is_monospace (PangoFontFace *face);
PANGO_AVAILABLE_IN_ALL
gboolean pango_font_face_is_variable (PangoFontFace *face);
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
PangoFontFamily * pango_font_face_get_family (PangoFontFace *face);
PANGO_AVAILABLE_IN_ALL
diff --git a/pango/pango-font-family.c b/pango/pango-font-family.c
index 274f62eaf..11c46b315 100644
--- a/pango/pango-font-family.c
+++ b/pango/pango-font-family.c
@@ -147,8 +147,6 @@ pango_font_family_real_get_face (PangoFontFamily *family,
*
* Returns: (transfer none) (nullable): the `PangoFontFace`,
* or %NULL if no face with the given name exists.
- *
- * Since: 1.46
*/
PangoFontFace *
pango_font_family_get_face (PangoFontFamily *family,
@@ -198,8 +196,6 @@ pango_font_family_is_generic (PangoFontFamily *family)
* be affected by double-width characters.
*
* Return value: %TRUE if the family is monospace.
- *
- * Since: 1.4
*/
gboolean
pango_font_family_is_monospace (PangoFontFamily *family)
@@ -220,8 +216,6 @@ pango_font_family_is_monospace (PangoFontFamily *family)
* [method@Pango.FontDescription.set_variations] for more information.
*
* Return value: %TRUE if the family is variable
- *
- * Since: 1.44
*/
gboolean
pango_font_family_is_variable (PangoFontFamily *family)
diff --git a/pango/pango-font-family.h b/pango/pango-font-family.h
index 0947cbab3..8ec9bbf69 100644
--- a/pango/pango-font-family.h
+++ b/pango/pango-font-family.h
@@ -36,12 +36,12 @@ PANGO_AVAILABLE_IN_ALL
const char * pango_font_family_get_name (PangoFontFamily *family) G_GNUC_PURE;
PANGO_AVAILABLE_IN_ALL
gboolean pango_font_family_is_generic (PangoFontFamily *family) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
gboolean pango_font_family_is_monospace (PangoFontFamily *family) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
gboolean pango_font_family_is_variable (PangoFontFamily *family) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
PangoFontFace * pango_font_family_get_face (PangoFontFamily *family,
const char *name);
diff --git a/pango/pango-font-metrics.c b/pango/pango-font-metrics.c
index bf8e28b3a..f5c22129e 100644
--- a/pango/pango-font-metrics.c
+++ b/pango/pango-font-metrics.c
@@ -141,8 +141,6 @@ pango_font_metrics_get_descent (PangoFontMetrics *metrics)
* If the line height is not available, 0 is returned.
*
* Return value: the height, in Pango units
- *
- * Since: 1.44
*/
int
pango_font_metrics_get_height (PangoFontMetrics *metrics)
@@ -205,8 +203,6 @@ pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics)
* the baseline, this value is typically negative.
*
* Return value: the suggested underline position, in Pango units.
- *
- * Since: 1.6
*/
int
pango_font_metrics_get_underline_position (PangoFontMetrics *metrics)
@@ -223,8 +219,6 @@ pango_font_metrics_get_underline_position (PangoFontMetrics *metrics)
* Gets the suggested thickness to draw for the underline.
*
* Return value: the suggested underline thickness, in Pango units.
- *
- * Since: 1.6
*/
int
pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics)
@@ -244,8 +238,6 @@ pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics)
* baseline of the top of the strikethrough.
*
* Return value: the suggested strikethrough position, in Pango units.
- *
- * Since: 1.6
*/
int
pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics)
@@ -262,8 +254,6 @@ pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics)
* Gets the suggested thickness to draw for the strikethrough.
*
* Return value: the suggested strikethrough thickness, in Pango units.
- *
- * Since: 1.6
*/
int
pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics)
diff --git a/pango/pango-font-metrics.h b/pango/pango-font-metrics.h
index 8f23e6f22..22d2ce00d 100644
--- a/pango/pango-font-metrics.h
+++ b/pango/pango-font-metrics.h
@@ -78,19 +78,19 @@ PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_ascent (PangoFontMetrics *metrics) G_GNUC_PURE;
PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_descent (PangoFontMetrics *metrics) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_height (PangoFontMetrics *metrics) G_GNUC_PURE;
PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics) G_GNUC_PURE;
PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_underline_position (PangoFontMetrics *metrics) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
int pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
diff --git a/pango/pango-font.c b/pango/pango-font.c
index a6c651e4b..e1519b21c 100644
--- a/pango/pango-font.c
+++ b/pango/pango-font.c
@@ -153,8 +153,6 @@ pango_font_describe (PangoFont *font)
* Use [method Pango Font.describe] if you want the font size in points.
*
* Return value: a newly-allocated `PangoFontDescription` object.
- *
- * Since: 1.14
*/
PangoFontDescription *
pango_font_describe_with_absolute_size (PangoFont *font)
@@ -297,8 +295,6 @@ pango_font_get_metrics (PangoFont *font,
*
* Return value: (transfer none) (nullable): the `PangoFontMap`
* for the font
- *
- * Since: 1.10
*/
PangoFontMap *
pango_font_get_font_map (PangoFont *font)
@@ -319,8 +315,6 @@ pango_font_get_font_map (PangoFont *font)
* Gets the `PangoFontFace` to which @font belongs.
*
* Returns: (transfer none): the `PangoFontFace`
- *
- * Since: 1.46
*/
PangoFontFace *
pango_font_get_face (PangoFont *font)
@@ -340,8 +334,6 @@ pango_font_get_face (PangoFont *font)
*
* Returns: (transfer none) (nullable): the `hb_font_t` object
* backing the font
- *
- * Since: 1.44
*/
hb_font_t *
pango_font_get_hb_font (PangoFont *font)
@@ -365,8 +357,6 @@ pango_font_get_hb_font (PangoFont *font)
* Returns whether the font provides a glyph for this character.
*
* Returns: `TRUE` if @font can render @wc
- *
- * Since: 1.44
*/
gboolean
pango_font_has_char (PangoFont *font,
@@ -389,8 +379,6 @@ pango_font_has_char (PangoFont *font,
*
* Note that this does not include OpenType features which the
* rendering system enables by default.
- *
- * Since: 1.44
*/
void
pango_font_get_features (PangoFont *font,
@@ -416,8 +404,6 @@ pango_font_get_features (PangoFont *font,
* and its fontmap are valid.
*
* Returns: (transfer none) (nullable) (array zero-terminated=1) (element-type PangoLanguage): an array of
`PangoLanguage`
- *
- * Since: 1.50
*/
PangoLanguage **
pango_font_get_languages (PangoFont *font)
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 075acd496..e60fb4a2f 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -41,7 +41,7 @@ PANGO_DECLARE_INTERNAL_TYPE (PangoFont, pango_font, PANGO, FONT, GObject)
PANGO_AVAILABLE_IN_ALL
PangoFontDescription *pango_font_describe (PangoFont *font);
-PANGO_AVAILABLE_IN_1_14
+PANGO_AVAILABLE_IN_ALL
PangoFontDescription *pango_font_describe_with_absolute_size (PangoFont *font);
PANGO_AVAILABLE_IN_ALL
PangoCoverage * pango_font_get_coverage (PangoFont *font,
@@ -54,30 +54,30 @@ void pango_font_get_glyph_extents (PangoFont *font,
PangoGlyph glyph,
PangoRectangle *ink_rect,
PangoRectangle *logical_rect);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
PangoFontMap *pango_font_get_font_map (PangoFont *font);
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
PangoFontFace * pango_font_get_face (PangoFont *font);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
gboolean pango_font_has_char (PangoFont *font,
gunichar wc);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
void pango_font_get_features (PangoFont *font,
hb_feature_t *features,
guint len,
guint *num_features);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
hb_font_t * pango_font_get_hb_font (PangoFont *font);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoLanguage ** pango_font_get_languages (PangoFont *font);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
GBytes * pango_font_serialize (PangoFont *font);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoFont * pango_font_deserialize (PangoContext *context,
GBytes *bytes,
GError **error);
@@ -101,8 +101,6 @@ PangoFont * pango_font_deserialize (PangoContext *context,
*
* Note that this value is defined such that it has the %PANGO_GLYPH_UNKNOWN_FLAG
* set.
- *
- * Since: 1.20
*/
/**
* PANGO_GLYPH_UNKNOWN_FLAG:
diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c
index fa7cfdc8a..41355608d 100644
--- a/pango/pango-fontmap.c
+++ b/pango/pango-fontmap.c
@@ -78,8 +78,6 @@ pango_font_map_init (PangoFontMap *fontmap G_GNUC_UNUSED)
*
* Return value: (transfer full): the newly allocated `PangoContext`,
* which should be freed with g_object_unref().
- *
- * Since: 1.22
*/
PangoContext *
pango_font_map_create_context (PangoFontMap *fontmap)
@@ -281,8 +279,6 @@ pango_font_map_real_load_fontset (PangoFontMap *fontmap,
* like in `PangoContext`.
*
* Return value: The current serial number of @fontmap.
- *
- * Since: 1.32.4
*/
guint
pango_font_map_get_serial (PangoFontMap *fontmap)
@@ -318,8 +314,6 @@ pango_font_map_real_changed (PangoFontMap *fontmap)
* for Pango, something applications won't do. Backends should
* call this function if they have attached extra data to the
* context and such data is changed.
- *
- * Since: 1.34
*/
void
pango_font_map_changed (PangoFontMap *fontmap)
@@ -361,8 +355,6 @@ pango_font_map_real_get_family (PangoFontMap *fontmap,
* Gets a font family by name.
*
* Returns: (transfer none): the `PangoFontFamily`
- *
- * Since: 1.46
*/
PangoFontFamily *
pango_font_map_get_family (PangoFontMap *fontmap,
diff --git a/pango/pango-fontmap.h b/pango/pango-fontmap.h
index d9c0ac257..09ad48a3d 100644
--- a/pango/pango-fontmap.h
+++ b/pango/pango-fontmap.h
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
PANGO_AVAILABLE_IN_ALL
PANGO_DECLARE_INTERNAL_TYPE (PangoFontMap, pango_font_map, PANGO, FONT_MAP, GObject)
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
PangoContext * pango_font_map_create_context (PangoFontMap *fontmap);
PANGO_AVAILABLE_IN_ALL
PangoFont * pango_font_map_load_font (PangoFontMap *fontmap,
@@ -44,12 +44,12 @@ PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontma
PangoContext *context,
const PangoFontDescription *desc,
PangoLanguage *language);
-PANGO_AVAILABLE_IN_1_32
+PANGO_AVAILABLE_IN_ALL
guint pango_font_map_get_serial (PangoFontMap *fontmap);
-PANGO_AVAILABLE_IN_1_34
+PANGO_AVAILABLE_IN_ALL
void pango_font_map_changed (PangoFontMap *fontmap);
-PANGO_AVAILABLE_IN_1_46
+PANGO_AVAILABLE_IN_ALL
PangoFontFamily *pango_font_map_get_family (PangoFontMap *fontmap,
const char *name);
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index 1617cef06..d8a3087e8 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -89,8 +89,6 @@ pango_fontset_get_metrics (PangoFontset *fontset)
* Gets the language that the fontset was created for.
*
* Returns: the language that @fontset was created for
- *
- * Since: 1.52
*/
PangoLanguage *
pango_fontset_get_language (PangoFontset *fontset)
@@ -110,8 +108,6 @@ pango_fontset_get_language (PangoFontset *fontset)
* each one.
*
* If @func returns %TRUE, that stops the iteration.
- *
- * Since: 1.4
*/
void
pango_fontset_foreach (PangoFontset *fontset,
diff --git a/pango/pango-fontset.h b/pango/pango-fontset.h
index 9c2409c15..548d71c81 100644
--- a/pango/pango-fontset.h
+++ b/pango/pango-fontset.h
@@ -55,8 +55,6 @@ typedef struct _PangoFontset PangoFontset;
* See [method@Pango.Fontset.foreach].
*
* Returns: if %TRUE, stop iteration and return immediately.
- *
- * Since: 1.4
*/
typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset,
PangoFont *font,
@@ -78,7 +76,7 @@ PangoFont * pango_fontset_get_font (PangoFontset
guint wc);
PANGO_AVAILABLE_IN_ALL
PangoFontMetrics * pango_fontset_get_metrics (PangoFontset *fontset);
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
void pango_fontset_foreach (PangoFontset *fontset,
PangoFontsetForeachFunc func,
gpointer data);
diff --git a/pango/pango-glyph-item.c b/pango/pango-glyph-item.c
index d128f7f8a..9542a23e9 100644
--- a/pango/pango-glyph-item.c
+++ b/pango/pango-glyph-item.c
@@ -51,8 +51,6 @@
* Return value: the newly allocated item representing text before
* @split_index, which should be freed
* with pango_glyph_item_free().
- *
- * Since: 1.2
*/
PangoGlyphItem *
pango_glyph_item_split (PangoGlyphItem *orig,
@@ -144,8 +142,6 @@ pango_glyph_item_split (PangoGlyphItem *orig,
* Make a deep copy of an existing `PangoGlyphItem` structure.
*
* Return value: (nullable): the newly allocated `PangoGlyphItem`
- *
- * Since: 1.20
*/
PangoGlyphItem *
pango_glyph_item_copy (PangoGlyphItem *orig)
@@ -171,8 +167,6 @@ pango_glyph_item_copy (PangoGlyphItem *orig)
* @glyph_item: (nullable): a `PangoGlyphItem`
*
* Frees a `PangoGlyphItem` and resources to which it points.
- *
- * Since: 1.6
*/
void
pango_glyph_item_free (PangoGlyphItem *glyph_item)
@@ -200,8 +194,6 @@ G_DEFINE_BOXED_TYPE (PangoGlyphItem, pango_glyph_item,
* Make a shallow copy of an existing `PangoGlyphItemIter` structure.
*
* Return value: (nullable): the newly allocated `PangoGlyphItemIter`
- *
- * Since: 1.22
*/
PangoGlyphItemIter *
pango_glyph_item_iter_copy (PangoGlyphItemIter *orig)
@@ -223,8 +215,6 @@ pango_glyph_item_iter_copy (PangoGlyphItemIter *orig)
* @iter: (nullable): a `PangoGlyphItemIter`
*
* Frees a `PangoGlyphItem`Iter.
- *
- * Since: 1.22
*/
void
pango_glyph_item_iter_free (PangoGlyphItemIter *iter)
@@ -249,8 +239,6 @@ G_DEFINE_BOXED_TYPE (PangoGlyphItemIter, pango_glyph_item_iter,
*
* Return value: %TRUE if the iterator was advanced,
* %FALSE if we were already on the last cluster.
- *
- * Since: 1.22
*/
gboolean
pango_glyph_item_iter_next_cluster (PangoGlyphItemIter *iter)
@@ -339,8 +327,6 @@ pango_glyph_item_iter_next_cluster (PangoGlyphItemIter *iter)
*
* Return value: %TRUE if the iterator was moved,
* %FALSE if we were already on the first cluster.
- *
- * Since: 1.22
*/
gboolean
pango_glyph_item_iter_prev_cluster (PangoGlyphItemIter *iter)
@@ -435,8 +421,6 @@ pango_glyph_item_iter_prev_cluster (PangoGlyphItemIter *iter)
* See `PangoGlyphItemIter` for details of cluster orders.
*
* Return value: %FALSE if there are no clusters in the glyph item
- *
- * Since: 1.22
*/
gboolean
pango_glyph_item_iter_init_start (PangoGlyphItemIter *iter,
@@ -474,8 +458,6 @@ pango_glyph_item_iter_init_start (PangoGlyphItemIter *iter,
* See `PangoGlyphItemIter` for details of cluster orders.
*
* Return value: %FALSE if there are no clusters in the glyph item
- *
- * Since: 1.22
*/
gboolean
pango_glyph_item_iter_init_end (PangoGlyphItemIter *iter,
@@ -587,8 +569,6 @@ split_before_cluster_start (ApplyAttrsState *state)
* list of glyph items resulting from splitting @glyph_item. Free
* the elements using [method Pango GlyphItem free], the list using
* g_slist_free().
- *
- * Since: 1.2
*/
GSList *
pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item,
@@ -734,8 +714,6 @@ pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item,
*
* Adds spacing between the graphemes of @glyph_item to
* give the effect of typographic letter spacing.
- *
- * Since: 1.6
*/
void
pango_glyph_item_letter_space (PangoGlyphItem *glyph_item,
@@ -818,8 +796,6 @@ pango_glyph_item_letter_space (PangoGlyphItem *glyph_item,
* entire cluster is divided equally among the characters.
*
* See also [method@Pango.GlyphString.get_logical_widths].
- *
- * Since: 1.26
*/
void
pango_glyph_item_get_logical_widths (PangoGlyphItem *glyph_item,
diff --git a/pango/pango-glyph-item.h b/pango/pango-glyph-item.h
index fd8951d26..69add997e 100644
--- a/pango/pango-glyph-item.h
+++ b/pango/pango-glyph-item.h
@@ -63,24 +63,24 @@ struct _PangoGlyphItem
PANGO_AVAILABLE_IN_ALL
GType pango_glyph_item_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_2
+PANGO_AVAILABLE_IN_ALL
PangoGlyphItem *pango_glyph_item_split (PangoGlyphItem *orig,
const char *text,
int split_index);
-PANGO_AVAILABLE_IN_1_20
+PANGO_AVAILABLE_IN_ALL
PangoGlyphItem *pango_glyph_item_copy (PangoGlyphItem *orig);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
void pango_glyph_item_free (PangoGlyphItem *glyph_item);
-PANGO_AVAILABLE_IN_1_2
+PANGO_AVAILABLE_IN_ALL
GSList * pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item,
const char *text,
PangoAttrList *list);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
void pango_glyph_item_letter_space (PangoGlyphItem *glyph_item,
const char *text,
PangoLogAttr *log_attrs,
int letter_spacing);
-PANGO_AVAILABLE_IN_1_26
+PANGO_AVAILABLE_IN_ALL
void pango_glyph_item_get_logical_widths (PangoGlyphItem *glyph_item,
const char *text,
int *logical_widths);
@@ -129,8 +129,6 @@ void pango_glyph_item_get_logical_widths (PangoGlyphItem *glyph_item,
* end variables is not.
*
* None of the members of a `PangoGlyphItemIter` should be modified manually.
- *
- * Since: 1.22
*/
typedef struct _PangoGlyphItemIter PangoGlyphItemIter;
@@ -150,24 +148,24 @@ struct _PangoGlyphItemIter
#define PANGO_TYPE_GLYPH_ITEM_ITER (pango_glyph_item_iter_get_type ())
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
GType pango_glyph_item_iter_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
PangoGlyphItemIter *pango_glyph_item_iter_copy (PangoGlyphItemIter *orig);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
void pango_glyph_item_iter_free (PangoGlyphItemIter *iter);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
gboolean pango_glyph_item_iter_init_start (PangoGlyphItemIter *iter,
PangoGlyphItem *glyph_item,
const char *text);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
gboolean pango_glyph_item_iter_init_end (PangoGlyphItemIter *iter,
PangoGlyphItem *glyph_item,
const char *text);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
gboolean pango_glyph_item_iter_next_cluster (PangoGlyphItemIter *iter);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
gboolean pango_glyph_item_iter_prev_cluster (PangoGlyphItemIter *iter);
G_END_DECLS
diff --git a/pango/pango-glyph.h b/pango/pango-glyph.h
index a9d5507f4..ebedb1c69 100644
--- a/pango/pango-glyph.h
+++ b/pango/pango-glyph.h
@@ -168,7 +168,7 @@ void pango_glyph_string_extents (PangoGlyphStrin
PangoFont *font,
PangoRectangle *ink_rect,
PangoRectangle *logical_rect);
-PANGO_AVAILABLE_IN_1_14
+PANGO_AVAILABLE_IN_ALL
int pango_glyph_string_get_width (PangoGlyphString *glyphs);
PANGO_AVAILABLE_IN_ALL
@@ -203,7 +203,7 @@ void pango_glyph_string_x_to_index (PangoGlyphStrin
int *index_,
int *trailing);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
void pango_glyph_string_index_to_x_full (PangoGlyphString *glyphs,
const char *text,
int length,
@@ -224,15 +224,13 @@ void pango_glyph_string_index_to_x_full (PangoGlyphStrin
* Flags influencing the shaping process.
*
* `PangoShapeFlags` can be passed to [func@Pango.shape_with_flags].
- *
- * Since: 1.44
*/
typedef enum {
PANGO_SHAPE_NONE = 0,
PANGO_SHAPE_ROUND_POSITIONS = 1 << 0,
} PangoShapeFlags;
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
void pango_shape (const char *item_text,
int item_length,
const char *paragraph_text,
@@ -242,7 +240,7 @@ void pango_shape (const char *item_text,
PangoShapeFlags flags);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
void pango_shape_item (PangoItem *item,
const char *paragraph_text,
int paragraph_length,
diff --git a/pango/pango-gravity.c b/pango/pango-gravity.c
index 42c9e032e..e987ae68e 100644
--- a/pango/pango-gravity.c
+++ b/pango/pango-gravity.c
@@ -36,8 +36,6 @@
* you should multiply it by (180. / G_PI).
*
* Return value: the rotation value corresponding to @gravity.
- *
- * Since: 1.16
*/
double
pango_gravity_to_rotation (PangoGravity gravity)
@@ -68,8 +66,6 @@ pango_gravity_to_rotation (PangoGravity gravity)
*
* Return value: the gravity of @matrix, which will never be
* %PANGO_GRAVITY_AUTO, or %PANGO_GRAVITY_SOUTH if @matrix is %NULL
- *
- * Since: 1.16
*/
PangoGravity
pango_gravity_get_for_matrix (const PangoMatrix *matrix)
@@ -364,8 +360,6 @@ get_script_properties (GUnicodeScript script)
*
* Return value: resolved gravity suitable to use for a run of text
* with @script
- *
- * Since: 1.16
*/
PangoGravity
pango_gravity_get_for_script (GUnicodeScript script,
@@ -403,8 +397,6 @@ pango_gravity_get_for_script (GUnicodeScript script,
*
* Return value: resolved gravity suitable to use for a run of text
* with @script and @wide.
- *
- * Since: 1.26
*/
PangoGravity
pango_gravity_get_for_script_and_width (GUnicodeScript script,
diff --git a/pango/pango-gravity.h b/pango/pango-gravity.h
index 96cf5d2da..11348a65b 100644
--- a/pango/pango-gravity.h
+++ b/pango/pango-gravity.h
@@ -47,8 +47,6 @@ G_BEGIN_DECLS
* [method@Pango.Context.get_base_gravity].
*
* See also: [enum@Pango.GravityHint]
- *
- * Since: 1.16
*/
typedef enum {
PANGO_GRAVITY_SOUTH,
@@ -75,8 +73,6 @@ typedef enum {
* That is, English excerpts in a vertical paragraph for example.
*
* See also [enum@Pango.Gravity]
- *
- * Since: 1.16
*/
typedef enum {
PANGO_GRAVITY_HINT_NATURAL,
@@ -92,8 +88,6 @@ typedef enum {
*
* Returns: %TRUE if @gravity is %PANGO_GRAVITY_EAST or %PANGO_GRAVITY_WEST,
* %FALSE otherwise.
- *
- * Since: 1.16
*/
#define PANGO_GRAVITY_IS_VERTICAL(gravity) \
((gravity) == PANGO_GRAVITY_EAST || (gravity) == PANGO_GRAVITY_WEST)
@@ -107,8 +101,6 @@ typedef enum {
*
* Returns: %TRUE if @gravity is %PANGO_GRAVITY_WEST or %PANGO_GRAVITY_NORTH,
* %FALSE otherwise.
- *
- * Since: 1.32
*/
#define PANGO_GRAVITY_IS_IMPROPER(gravity) \
((gravity) == PANGO_GRAVITY_WEST || (gravity) == PANGO_GRAVITY_NORTH)
@@ -116,15 +108,15 @@ typedef enum {
#include <pango/pango-matrix.h>
#include <pango/pango-script.h>
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
double pango_gravity_to_rotation (PangoGravity gravity) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoGravity pango_gravity_get_for_matrix (const PangoMatrix *matrix) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoGravity pango_gravity_get_for_script (GUnicodeScript script,
PangoGravity base_gravity,
PangoGravityHint hint) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_26
+PANGO_AVAILABLE_IN_ALL
PangoGravity pango_gravity_get_for_script_and_width
(GUnicodeScript script,
gboolean wide,
diff --git a/pango/pango-item.c b/pango/pango-item.c
index 831ecec32..f1676a795 100644
--- a/pango/pango-item.c
+++ b/pango/pango-item.c
@@ -215,8 +215,6 @@ compare_attr (gconstpointer p1, gconstpointer p2)
* and will be advanced past it. This function is meant to be called
* in a loop over the items resulting from itemization, while passing
* the iter to each call.
- *
- * Since: 1.44
*/
void
pango_item_apply_attrs (PangoItem *item,
diff --git a/pango/pango-item.h b/pango/pango-item.h
index 92b430299..a0454fb6e 100644
--- a/pango/pango-item.h
+++ b/pango/pango-item.h
@@ -37,8 +37,6 @@ typedef struct _PangoItem PangoItem;
* Whether the segment should be shifted to center around the baseline.
*
* This is mainly used in vertical writing directions.
- *
- * Since: 1.16
*/
#define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 << 0)
@@ -46,8 +44,6 @@ typedef struct _PangoItem PangoItem;
* PANGO_ANALYSIS_FLAG_IS_ELLIPSIS:
*
* Whether this run holds ellipsized text.
- *
- * Since: 1.36.7
*/
#define PANGO_ANALYSIS_FLAG_IS_ELLIPSIS (1 << 1)
@@ -55,8 +51,6 @@ typedef struct _PangoItem PangoItem;
* PANGO_ANALYSIS_FLAG_NEED_HYPHEN:
*
* Whether to add a hyphen at the end of the run during shaping.
- *
- * Since: 1.44
*/
#define PANGO_ANALYSIS_FLAG_NEED_HYPHEN (1 << 2)
@@ -66,8 +60,8 @@ typedef struct _PangoItem PangoItem;
* @font: the font for this segment
* @level: the bidirectional level for this segment.
* @gravity: the glyph orientation for this segment (A `PangoGravity`).
- * @flags: boolean flags for this segment (Since: 1.16).
- * @script: the detected script for this segment (A `PangoScript`) (Since: 1.18).
+ * @flags: boolean flags for this segment
+ * @script: the detected script for this segment (A `PangoScript`)
* @language: the detected language for this segment.
* @extra_attrs: extra attributes for this segment.
*
@@ -128,7 +122,7 @@ PangoItem * pango_item_split (PangoItem *orig,
int split_index,
int split_offset);
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
void pango_item_apply_attrs (PangoItem *item,
PangoAttrIterator *iter);
diff --git a/pango/pango-language.c b/pango/pango-language.c
index bfe84bb74..737bcdb89 100644
--- a/pango/pango-language.c
+++ b/pango/pango-language.c
@@ -284,8 +284,6 @@ _pango_get_lc_ctype (void)
* just call pango_language_from_string() yourself.
*
* Return value: (transfer none): the default language as a `PangoLanguage`
- *
- * Since: 1.16
**/
PangoLanguage *
pango_language_get_default (void)
@@ -645,8 +643,6 @@ pango_language_get_sample_string (PangoLanguage *language)
* the array stored in @num_scripts, or %NULL if Pango does not have
* any information about this particular language tag (also the case
* if @language is %NULL).
- *
- * Since: 1.22
*/
const GUnicodeScript *
pango_language_get_scripts (PangoLanguage *language,
@@ -703,8 +699,6 @@ pango_language_get_scripts (PangoLanguage *language,
* Return value: %TRUE if @script is one of the scripts used
* to write @language or if nothing is known about @language
* (including the case that @language is %NULL), %FALSE otherwise.
- *
- * Since: 1.4
*/
gboolean
pango_language_includes_script (PangoLanguage *language,
@@ -851,8 +845,6 @@ out:
*
* Returns: (transfer none) (nullable): a %NULL-terminated array
* of `PangoLanguage`*
- *
- * Since: 1.48
*/
PangoLanguage **
pango_language_get_preferred (void)
@@ -899,8 +891,6 @@ pango_language_get_preferred (void)
*
* Return value: (nullable): a `PangoLanguage` that is representative
* of the script
- *
- * Since: 1.4
*/
PangoLanguage *
pango_script_get_sample_language (GUnicodeScript script)
diff --git a/pango/pango-language.h b/pango/pango-language.h
index 3f2ba8952..3431278fb 100644
--- a/pango/pango-language.h
+++ b/pango/pango-language.h
@@ -36,10 +36,10 @@ G_BEGIN_DECLS
PANGO_AVAILABLE_IN_ALL
GType pango_language_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
PangoLanguage * pango_language_get_default (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_48
+PANGO_AVAILABLE_IN_ALL
PangoLanguage ** pango_language_get_preferred (void) G_GNUC_CONST;
PANGO_AVAILABLE_IN_ALL
@@ -58,10 +58,10 @@ PANGO_AVAILABLE_IN_ALL
gboolean pango_language_matches (PangoLanguage *language,
const char *range_list) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
gboolean pango_language_includes_script (PangoLanguage *language,
GUnicodeScript script) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
const GUnicodeScript * pango_language_get_scripts (PangoLanguage *language,
int *num_scripts);
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index ba96589cb..17bea8acc 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -1044,8 +1044,6 @@ pango_layout_set_font_description (PangoLayout *layout,
* Return value: (transfer none) (nullable): a pointer to the
* layout's font description, or %NULL if the font description
* from the layout's context is inherited.
- *
- * Since: 1.8
*/
const PangoFontDescription *
pango_layout_get_font_description (PangoLayout *layout)
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index 7233e4f48..e8bd9bf63 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -714,8 +714,6 @@ pango_parse_markup (const char *markup_text,
*
* Return value: (transfer none): a `GMarkupParseContext` that should be
* destroyed with [method GLib MarkupParseContext free].
- *
- * Since: 1.31.0
**/
GMarkupParseContext *
pango_markup_parser_new (gunichar accel_marker)
@@ -739,8 +737,6 @@ pango_markup_parser_new (gunichar accel_marker)
* to do so.
*
* Return value: %FALSE if @error is set, otherwise %TRUE
- *
- * Since: 1.31.0
*/
gboolean
pango_markup_parser_finish (GMarkupParseContext *context,
diff --git a/pango/pango-markup.h b/pango/pango-markup.h
index b30edb8d9..5ed855763 100644
--- a/pango/pango-markup.h
+++ b/pango/pango-markup.h
@@ -27,10 +27,10 @@
G_BEGIN_DECLS
-PANGO_AVAILABLE_IN_1_32
+PANGO_AVAILABLE_IN_ALL
GMarkupParseContext * pango_markup_parser_new (gunichar accel_marker);
-PANGO_AVAILABLE_IN_1_32
+PANGO_AVAILABLE_IN_ALL
gboolean pango_markup_parser_finish (GMarkupParseContext *context,
PangoAttrList **attr_list,
char **text,
diff --git a/pango/pango-matrix.c b/pango/pango-matrix.c
index b98b139dc..d564e75a4 100644
--- a/pango/pango-matrix.c
+++ b/pango/pango-matrix.c
@@ -37,8 +37,6 @@ G_DEFINE_BOXED_TYPE (PangoMatrix, pango_matrix,
* Copies a `PangoMatrix`.
*
* Return value: (nullable): the newly allocated `PangoMatrix`
- *
- * Since: 1.6
*/
PangoMatrix *
pango_matrix_copy (const PangoMatrix *matrix)
@@ -60,8 +58,6 @@ pango_matrix_copy (const PangoMatrix *matrix)
* @matrix: (nullable): a `PangoMatrix`, may be %NULL
*
* Free a `PangoMatrix`.
- *
- * Since: 1.6
*/
void
pango_matrix_free (PangoMatrix *matrix)
@@ -81,8 +77,6 @@ pango_matrix_free (PangoMatrix *matrix)
* Changes the transformation represented by @matrix to be the
* transformation given by first translating by (@tx, @ty)
* then applying the original transformation.
- *
- * Since: 1.6
*/
void
pango_matrix_translate (PangoMatrix *matrix,
@@ -105,8 +99,6 @@ pango_matrix_translate (PangoMatrix *matrix,
* transformation given by first scaling by @sx in the X direction
* and @sy in the Y direction then applying the original
* transformation.
- *
- * Since: 1.6
*/
void
pango_matrix_scale (PangoMatrix *matrix,
@@ -129,8 +121,6 @@ pango_matrix_scale (PangoMatrix *matrix,
* Changes the transformation represented by @matrix to be the
* transformation given by first rotating by @degrees degrees
* counter-clockwise then applying the original transformation.
- *
- * Since: 1.6
*/
void
pango_matrix_rotate (PangoMatrix *matrix,
@@ -163,8 +153,6 @@ pango_matrix_rotate (PangoMatrix *matrix,
* Changes the transformation represented by @matrix to be the
* transformation given by first applying transformation
* given by @new_matrix then applying the original transformation.
- *
- * Since: 1.6
*/
void
pango_matrix_concat (PangoMatrix *matrix,
@@ -196,8 +184,6 @@ pango_matrix_concat (PangoMatrix *matrix,
*
* Return value: the scale factor of @matrix on the height of the font,
* or 1.0 if @matrix is %NULL.
- *
- * Since: 1.12
*/
double
pango_matrix_get_font_scale_factor (const PangoMatrix *matrix)
@@ -220,8 +206,6 @@ pango_matrix_get_font_scale_factor (const PangoMatrix *matrix)
* vector that the X coordinate is mapped to.
*
* Note that output numbers will always be non-negative.
- *
- * Since: 1.38
**/
void
pango_matrix_get_font_scale_factors (const PangoMatrix *matrix,
@@ -302,8 +286,6 @@ pango_matrix_get_rotation (const PangoMatrix *matrix)
* this is simply λ.
*
* Returns: the slant ratio of @matrix
- *
- * Since: 1.50
*/
double
pango_matrix_get_slant_ratio (const PangoMatrix *matrix)
@@ -346,8 +328,6 @@ pango_matrix_get_slant_ratio (const PangoMatrix *matrix)
* always transforms to the same vector. If (@x1,@y1) transforms
* to (@x2,@y2) then (@x1+@dx1,@y1+@dy1) will transform to
* (@x1+@dx2,@y1+@dy2) for all values of @x1 and @x2.
- *
- * Since: 1.16
*/
void
pango_matrix_transform_distance (const PangoMatrix *matrix,
@@ -373,9 +353,7 @@ pango_matrix_transform_distance (const PangoMatrix *matrix,
* @y: (inout): in/out Y position
*
* Transforms the point (@x, @y) by @matrix.
- *
- * Since: 1.16
- **/
+ */
void
pango_matrix_transform_point (const PangoMatrix *matrix,
double *x,
@@ -413,8 +391,6 @@ pango_matrix_transform_point (const PangoMatrix *matrix,
* to pixels first and then transform, for example when the transformed
* coordinates may overflow in Pango units (large matrix translation for
* example).
- *
- * Since: 1.16
*/
void
pango_matrix_transform_rectangle (const PangoMatrix *matrix,
@@ -485,8 +461,6 @@ pango_matrix_transform_rectangle (const PangoMatrix *matrix,
* For better accuracy, you should use [method@Pango.Matrix.transform_rectangle]
* on original rectangle in Pango units and convert to pixels afterward
* using [func@extents_to_pixels]'s first argument.
- *
- * Since: 1.16
*/
void
pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix,
diff --git a/pango/pango-matrix.h b/pango/pango-matrix.h
index cce6569cb..3905ba201 100644
--- a/pango/pango-matrix.h
+++ b/pango/pango-matrix.h
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
@@ -47,8 +47,6 @@ typedef struct _PangoMatrix PangoMatrix;
* x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0;
* y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
* ```
- *
- * Since: 1.6
*/
struct _PangoMatrix
{
@@ -72,62 +70,60 @@ struct _PangoMatrix
* PangoMatrix matrix = PANGO_MATRIX_INIT;
* pango_matrix_rotate (&matrix, 45.);
* ```
- *
- * Since: 1.6
- **/
+ */
#define PANGO_MATRIX_INIT { 1., 0., 0., 1., 0., 0. }
/* for PangoRectangle */
#include <pango/pango-types.h>
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
GType pango_matrix_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_free (PangoMatrix *matrix);
PANGO_AVAILABLE_IN_ALL
gboolean pango_matrix_equal (const PangoMatrix *m1,
const PangoMatrix *m2);
-PANGO_AVAILABLE_IN_1_6
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_translate (PangoMatrix *matrix,
- double tx,
- double ty);
-PANGO_AVAILABLE_IN_1_6
+ double tx,
+ double ty);
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_scale (PangoMatrix *matrix,
- double scale_x,
- double scale_y);
-PANGO_AVAILABLE_IN_1_6
+ double scale_x,
+ double scale_y);
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_rotate (PangoMatrix *matrix,
- double degrees);
-PANGO_AVAILABLE_IN_1_6
+ double degrees);
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_concat (PangoMatrix *matrix,
- const PangoMatrix *new_matrix);
-PANGO_AVAILABLE_IN_1_16
+ const PangoMatrix *new_matrix);
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_transform_point (const PangoMatrix *matrix,
- double *x,
- double *y);
-PANGO_AVAILABLE_IN_1_16
+ double *x,
+ double *y);
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_transform_distance (const PangoMatrix *matrix,
- double *dx,
- double *dy);
-PANGO_AVAILABLE_IN_1_16
+ double *dx,
+ double *dy);
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_transform_rectangle (const PangoMatrix *matrix,
- PangoRectangle *rect);
-PANGO_AVAILABLE_IN_1_16
+ PangoRectangle *rect);
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix,
- PangoRectangle *rect);
-PANGO_AVAILABLE_IN_1_12
+ PangoRectangle *rect);
+PANGO_AVAILABLE_IN_ALL
double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_38
+PANGO_AVAILABLE_IN_ALL
void pango_matrix_get_font_scale_factors (const PangoMatrix *matrix,
- double *xscale, double *yscale);
+ double *xscale, double *yscale);
PANGO_AVAILABLE_IN_ALL
double pango_matrix_get_rotation (const PangoMatrix *matrix) G_GNUC_PURE;
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
double pango_matrix_get_slant_ratio (const PangoMatrix *matrix) G_GNUC_PURE;
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index 42d460e34..f3318b965 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -710,8 +710,6 @@ pango_renderer_draw_runs (PangoRenderer *renderer,
* in Pango units.
*
* Draws the glyphs in @glyphs with the specified `PangoRenderer`.
- *
- * Since: 1.8
*/
void
pango_renderer_draw_glyphs (PangoRenderer *renderer,
@@ -783,8 +781,6 @@ pango_renderer_default_draw_glyphs (PangoRenderer *renderer,
*
* The default implementation of this method simply falls back to
* [method@Pango.Renderer.draw_glyphs].
- *
- * Since: 1.22
*/
void
pango_renderer_draw_glyph_item (PangoRenderer *renderer,
@@ -840,8 +836,6 @@ pango_renderer_default_draw_glyph_item (PangoRenderer *renderer,
*
* This should be called while @renderer is already active.
* Use [method@Pango.Renderer.activate] to activate a renderer.
- *
- * Since: 1.8
*/
void
pango_renderer_draw_rectangle (PangoRenderer *renderer,
@@ -982,8 +976,6 @@ pango_renderer_default_draw_rectangle (PangoRenderer *renderer,
*
* This should be called while @renderer is already active.
* Use [method@Pango.Renderer.activate] to activate a renderer.
- *
- * Since: 1.8
*/
void
pango_renderer_draw_error_underline (PangoRenderer *renderer,
@@ -1138,8 +1130,6 @@ pango_renderer_default_draw_error_underline (PangoRenderer *renderer,
*
* Draws a trapezoid with the parallel sides aligned with the X axis
* using the given `PangoRenderer`; coordinates are in device space.
- *
- * Since: 1.8
*/
void
pango_renderer_draw_trapezoid (PangoRenderer *renderer,
@@ -1169,8 +1159,6 @@ pango_renderer_draw_trapezoid (PangoRenderer *renderer,
* @y: Y coordinate of left edge of baseline of glyph
*
* Draws a single glyph with coordinates in device space.
- *
- * Since: 1.8
*/
void
pango_renderer_draw_glyph (PangoRenderer *renderer,
@@ -1202,8 +1190,6 @@ pango_renderer_draw_glyph (PangoRenderer *renderer,
* Calls to [method@Pango.Renderer.activate] and
* [method@Pango.Renderer.deactivate] can be nested and the
* renderer will only be initialized and deinitialized once.
- *
- * Since: 1.8
*/
void
pango_renderer_activate (PangoRenderer *renderer)
@@ -1225,8 +1211,6 @@ pango_renderer_activate (PangoRenderer *renderer)
* Cleans up after rendering operations on @renderer.
*
* See docs for [method@Pango.Renderer.activate].
- *
- * Since: 1.8
*/
void
pango_renderer_deactivate (PangoRenderer *renderer)
@@ -1251,8 +1235,6 @@ pango_renderer_deactivate (PangoRenderer *renderer)
* Sets the color for part of the rendering.
*
* Also see [method@Pango.Renderer.set_alpha].
- *
- * Since: 1.8
*/
void
pango_renderer_set_color (PangoRenderer *renderer,
@@ -1292,8 +1274,6 @@ pango_renderer_set_color (PangoRenderer *renderer,
* Return value: (transfer none) (nullable): the color for the
* specified part, or %NULL if it hasn't been set and should be
* inherited from the environment.
- *
- * Since: 1.8
*/
PangoColor *
pango_renderer_get_color (PangoRenderer *renderer,
@@ -1318,8 +1298,6 @@ pango_renderer_get_color (PangoRenderer *renderer,
*
* Note that the alpha may only be used if a color is
* specified for @part as well.
- *
- * Since: 1.38
*/
void
pango_renderer_set_alpha (PangoRenderer *renderer,
@@ -1349,8 +1327,6 @@ pango_renderer_set_alpha (PangoRenderer *renderer,
* Return value: the alpha for the specified part,
* or 0 if it hasn't been set and should be
* inherited from the environment.
- *
- * Since: 1.38
*/
guint16
pango_renderer_get_alpha (PangoRenderer *renderer,
@@ -1382,8 +1358,6 @@ pango_renderer_get_alpha (PangoRenderer *renderer,
* When the stipple changes or underlines with different stipples
* might be joined together. Pango automatically calls this for
* changes to colors. (See [method@Pango.Renderer.set_color])
- *
- * Since: 1.8
*/
void
pango_renderer_part_changed (PangoRenderer *renderer,
@@ -1405,8 +1379,6 @@ pango_renderer_part_changed (PangoRenderer *renderer,
* @run: a `PangoRun`
*
* Set up the state of the `PangoRenderer` for rendering @run.
- *
- * Since: 1.8
*/
static void
pango_renderer_prepare_run (PangoRenderer *renderer,
@@ -1522,8 +1494,6 @@ pango_renderer_default_prepare_run (PangoRenderer *renderer,
* (No matrix set is the same as setting the identity matrix.)
*
* Sets the transformation matrix that will be applied when rendering.
- *
- * Since: 1.8
*/
void
pango_renderer_set_matrix (PangoRenderer *renderer,
@@ -1547,8 +1517,6 @@ pango_renderer_set_matrix (PangoRenderer *renderer,
* Return value: (nullable): the matrix, or %NULL if no matrix has
* been set (which is the same as the identity matrix). The returned
* matrix is owned by Pango and must not be modified or freed.
- *
- * Since: 1.8
*/
const PangoMatrix *
pango_renderer_get_matrix (PangoRenderer *renderer)
diff --git a/pango/pango-renderer.h b/pango/pango-renderer.h
index 403d31289..e9bece363 100644
--- a/pango/pango-renderer.h
+++ b/pango/pango-renderer.h
@@ -49,9 +49,7 @@ typedef struct _PangoRendererPrivate PangoRendererPrivate;
*
* `PangoRenderPart` defines different items to render for such
* purposes as setting colors.
- *
- * Since: 1.8
- **/
+ */
/* When extending, note N_RENDER_PARTS #define in pango-renderer.c */
typedef enum
{
@@ -74,8 +72,6 @@ typedef enum
* By subclassing `PangoRenderer` and overriding operations such as
* @draw_glyphs and @draw_rectangle, renderers for particular font
* backends and destinations can be created.
- *
- * Since: 1.8
*/
struct _PangoRenderer
{
@@ -126,8 +122,6 @@ struct _PangoRenderer
* and must be implemented:
* - draw_trapezoid
* - draw_glyph
- *
- * Since: 1.8
*/
struct _PangoRendererClass
{
@@ -191,7 +185,7 @@ struct _PangoRendererClass
void (*_pango_reserved4) (void);
};
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
GType pango_renderer_get_type (void) G_GNUC_CONST;
PANGO_AVAILABLE_IN_ALL
@@ -205,32 +199,32 @@ void pango_renderer_draw_line (PangoRenderer *renderer,
PangoLine *line,
int x,
int y);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_draw_glyphs (PangoRenderer *renderer,
PangoFont *font,
PangoGlyphString *glyphs,
int x,
int y);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_draw_glyph_item (PangoRenderer *renderer,
const char *text,
PangoGlyphItem *glyph_item,
int x,
int y);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_draw_rectangle (PangoRenderer *renderer,
PangoRenderPart part,
int x,
int y,
int width,
int height);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_draw_error_underline (PangoRenderer *renderer,
int x,
int y,
int width,
int height);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_draw_trapezoid (PangoRenderer *renderer,
PangoRenderPart part,
double y1_,
@@ -239,42 +233,42 @@ void pango_renderer_draw_trapezoid (PangoRenderer *renderer,
double y2,
double x12,
double x22);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_draw_glyph (PangoRenderer *renderer,
PangoFont *font,
PangoGlyph glyph,
double x,
double y);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_activate (PangoRenderer *renderer);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_deactivate (PangoRenderer *renderer);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_part_changed (PangoRenderer *renderer,
PangoRenderPart part);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_set_color (PangoRenderer *renderer,
PangoRenderPart part,
const PangoColor *color);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
PangoColor *pango_renderer_get_color (PangoRenderer *renderer,
PangoRenderPart part);
-PANGO_AVAILABLE_IN_1_38
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_set_alpha (PangoRenderer *renderer,
PangoRenderPart part,
guint16 alpha);
-PANGO_AVAILABLE_IN_1_38
+PANGO_AVAILABLE_IN_ALL
guint16 pango_renderer_get_alpha (PangoRenderer *renderer,
PangoRenderPart part);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
void pango_renderer_set_matrix (PangoRenderer *renderer,
const PangoMatrix *matrix);
-PANGO_AVAILABLE_IN_1_8
+PANGO_AVAILABLE_IN_ALL
const PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer);
PANGO_AVAILABLE_IN_ALL
diff --git a/pango/pango-script.c b/pango/pango-script.c
index aa9bcc3cb..0a3941516 100644
--- a/pango/pango-script.c
+++ b/pango/pango-script.c
@@ -108,9 +108,7 @@ _pango_script_iter_init (PangoScriptIter *iter,
* to point at the first range in the text, which should be
* freed with [method Pango ScriptIter free]. If the string is
* empty, it will point at an empty range.
- *
- * Since: 1.4
- **/
+ */
PangoScriptIter *
pango_script_iter_new (const char *text,
int length)
@@ -134,8 +132,6 @@ _pango_script_iter_fini (PangoScriptIter *iter)
* @iter: a `PangoScriptIter`
*
* Frees a `PangoScriptIter`.
- *
- * Since: 1.4
*/
void
pango_script_iter_free (PangoScriptIter *iter)
@@ -155,8 +151,6 @@ pango_script_iter_free (PangoScriptIter *iter)
*
* The range is the set of locations p where *start <= p < *end.
* (That is, it doesn't include the character stored at *end)
- *
- * Since: 1.4
*/
void
pango_script_iter_get_range (PangoScriptIter *iter,
@@ -273,8 +267,6 @@ get_pair_index (gunichar ch)
* and %FALSE is returned.
*
* Return value: %TRUE if @iter was successfully advanced
- *
- * Since: 1.4
*/
gboolean
pango_script_iter_next (PangoScriptIter *iter)
diff --git a/pango/pango-script.h b/pango/pango-script.h
index c936b5cc7..8895a0b0d 100644
--- a/pango/pango-script.h
+++ b/pango/pango-script.h
@@ -36,25 +36,25 @@ G_BEGIN_DECLS
**/
typedef struct _PangoScriptIter PangoScriptIter;
-PANGO_AVAILABLE_IN_1_44
+PANGO_AVAILABLE_IN_ALL
GType pango_script_iter_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
PangoScriptIter *pango_script_iter_new (const char *text,
int length);
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
void pango_script_iter_get_range (PangoScriptIter *iter,
const char **start,
const char **end,
GUnicodeScript *script);
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
gboolean pango_script_iter_next (PangoScriptIter *iter);
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
void pango_script_iter_free (PangoScriptIter *iter);
#include <pango/pango-language.h>
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
PangoLanguage *pango_script_get_sample_language (GUnicodeScript script) G_GNUC_PURE;
G_END_DECLS
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c
index bc8a7cb43..d72182f4d 100644
--- a/pango/pango-tabs.c
+++ b/pango/pango-tabs.c
@@ -377,8 +377,6 @@ pango_tab_array_get_positions_in_pixels (PangoTabArray *tab_array)
*
* Sets whether positions in this array are specified in
* pixels.
- *
- * Since: 1.50
*/
void
pango_tab_array_set_positions_in_pixels (PangoTabArray *tab_array,
@@ -403,7 +401,6 @@ pango_tab_array_set_positions_in_pixels (PangoTabArray *tab_array,
* storage format.
*
* Returns: (transfer full): a newly allocated string
- * Since: 1.50
*/
char *
pango_tab_array_to_string (PangoTabArray *tab_array)
@@ -453,7 +450,6 @@ skip_whitespace (const char *p)
* See that functions for details about the format.
*
* Returns: (transfer full) (nullable): a new `PangoTabArray`
- * Since: 1.50
*/
PangoTabArray *
pango_tab_array_from_string (const char *text)
@@ -557,8 +553,6 @@ success:
*
* By default, Pango uses the decimal point according
* to the current locale.
- *
- * Since: 1.50
*/
void
pango_tab_array_set_decimal_point (PangoTabArray *tab_array,
@@ -587,8 +581,6 @@ pango_tab_array_set_decimal_point (PangoTabArray *tab_array,
*
* The default value of 0 means that Pango will use the
* decimal point according to the current locale.
- *
- * Since: 1.50
*/
gunichar
pango_tab_array_get_decimal_point (PangoTabArray *tab_array,
@@ -615,8 +607,6 @@ compare_tabs (const void *p1, const void *p2)
* @tab_array: a `PangoTabArray`
*
* Utility function to ensure that the tab stops are in increasing order.
- *
- * Since: 1.50
*/
void
pango_tab_array_sort (PangoTabArray *tab_array)
diff --git a/pango/pango-tabs.h b/pango/pango-tabs.h
index 07b335352..c1333974d 100644
--- a/pango/pango-tabs.h
+++ b/pango/pango-tabs.h
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
@@ -32,12 +32,12 @@ typedef struct _PangoTabArray PangoTabArray;
* PangoTabAlign:
* @PANGO_TAB_LEFT: the text appears to the right of the tab stop position
* @PANGO_TAB_RIGHT: the text appears to the left of the tab stop position
- * until the available space is filled. Since: 1.50
+ * until the available space is filled.
* @PANGO_TAB_CENTER: the text is centered at the tab stop position
- * until the available space is filled. Since: 1.50
+ * until the available space is filled.
* @PANGO_TAB_DECIMAL: text before the first occurrence of the decimal point
* character appears to the left of the tab stop position (until the available
- * space is filled), the rest to the right. Since: 1.50
+ * space is filled), the rest to the right.
*
* `PangoTabAlign` specifies where the text appears relative to the tab stop
* position.
@@ -54,13 +54,13 @@ typedef enum
PANGO_AVAILABLE_IN_ALL
PangoTabArray *pango_tab_array_new (gint initial_size,
- gboolean positions_in_pixels);
+ gboolean positions_in_pixels);
PANGO_AVAILABLE_IN_ALL
PangoTabArray *pango_tab_array_new_with_positions (gint size,
- gboolean positions_in_pixels,
- PangoTabAlign first_alignment,
- gint first_position,
- ...);
+ gboolean positions_in_pixels,
+ PangoTabAlign first_alignment,
+ gint first_position,
+ ...);
PANGO_AVAILABLE_IN_ALL
GType pango_tab_array_get_type (void) G_GNUC_CONST;
PANGO_AVAILABLE_IN_ALL
@@ -71,43 +71,43 @@ PANGO_AVAILABLE_IN_ALL
gint pango_tab_array_get_size (PangoTabArray *tab_array);
PANGO_AVAILABLE_IN_ALL
void pango_tab_array_resize (PangoTabArray *tab_array,
- gint new_size);
+ gint new_size);
PANGO_AVAILABLE_IN_ALL
void pango_tab_array_set_tab (PangoTabArray *tab_array,
- gint tab_index,
- PangoTabAlign alignment,
- gint location);
+ gint tab_index,
+ PangoTabAlign alignment,
+ gint location);
PANGO_AVAILABLE_IN_ALL
void pango_tab_array_get_tab (PangoTabArray *tab_array,
- gint tab_index,
- PangoTabAlign *alignment,
- gint *location);
+ gint tab_index,
+ PangoTabAlign *alignment,
+ gint *location);
PANGO_AVAILABLE_IN_ALL
void pango_tab_array_get_tabs (PangoTabArray *tab_array,
- PangoTabAlign **alignments,
- gint **locations);
+ PangoTabAlign **alignments,
+ gint **locations);
PANGO_AVAILABLE_IN_ALL
gboolean pango_tab_array_get_positions_in_pixels (PangoTabArray *tab_array);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
void pango_tab_array_set_positions_in_pixels (PangoTabArray *tab_array,
gboolean positions_in_pixels);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
char * pango_tab_array_to_string (PangoTabArray *tab_array);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
PangoTabArray * pango_tab_array_from_string (const char *text);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
void pango_tab_array_set_decimal_point (PangoTabArray *tab_array,
int tab_index,
gunichar decimal_point);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
gunichar pango_tab_array_get_decimal_point (PangoTabArray *tab_array,
int tab_index);
-PANGO_AVAILABLE_IN_1_50
+PANGO_AVAILABLE_IN_ALL
void pango_tab_array_sort (PangoTabArray *tab_array);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoTabArray, pango_tab_array_free)
diff --git a/pango/pango-types.h b/pango/pango-types.h
index b75f6fc3d..6c2c26a4a 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -85,7 +85,6 @@ typedef struct _PangoLineIter PangoLineIter;
* Converts a dimension to device units by flooring.
*
* Return value: floored dimension in device units.
- * Since: 1.14
*/
/**
* PANGO_PIXELS_CEIL:
@@ -94,7 +93,6 @@ typedef struct _PangoLineIter PangoLineIter;
* Converts a dimension to device units by ceiling.
*
* Return value: ceiled dimension in device units.
- * Since: 1.14
*/
#define PANGO_SCALE 1024
#define PANGO_PIXELS(d) (((int)(d) + 512) >> 10)
@@ -117,7 +115,6 @@ typedef struct _PangoLineIter PangoLineIter;
* convert it to device units.
*
* Return value: rounded down dimension in Pango units.
- * Since: 1.50
*/
#define PANGO_UNITS_FLOOR(d) \
((d) & ~(PANGO_SCALE - 1))
@@ -130,7 +127,6 @@ typedef struct _PangoLineIter PangoLineIter;
* convert it to device units.
*
* Return value: rounded up dimension in Pango units.
- * Since: 1.50
*/
#define PANGO_UNITS_CEIL(d) \
(((d) + (PANGO_SCALE - 1)) & ~(PANGO_SCALE - 1))
@@ -143,15 +139,14 @@ typedef struct _PangoLineIter PangoLineIter;
* convert it to device units.
*
* Return value: rounded dimension in Pango units.
- * Since: 1.18
*/
#define PANGO_UNITS_ROUND(d) \
(((d) + (PANGO_SCALE >> 1)) & ~(PANGO_SCALE - 1))
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
int pango_units_from_double (double d) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
double pango_units_to_double (int i) G_GNUC_CONST;
@@ -230,7 +225,7 @@ struct _PangoRectangle
#define PANGO_LBEARING(rect) ((rect).x)
#define PANGO_RBEARING(rect) ((rect).x + (rect).width)
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
void pango_extents_to_pixels (PangoRectangle *inclusive,
PangoRectangle *nearest);
diff --git a/pango/pango-userface.c b/pango/pango-userface.c
index 3b445aef5..16a0436ca 100644
--- a/pango/pango-userface.c
+++ b/pango/pango-userface.c
@@ -440,8 +440,6 @@ pango_user_face_class_init (PangoUserFaceClass *class)
* glyphs.
*
* Returns: (transfer full): a newly created `PangoUserFace`
- *
- * Since: 1.52
*/
PangoUserFace *
pango_user_face_new (PangoUserFaceGetFontInfoFunc font_info_func,
diff --git a/pango/pango-userfont.c b/pango/pango-userfont.c
index 0ebbb7f68..f20524632 100644
--- a/pango/pango-userfont.c
+++ b/pango/pango-userfont.c
@@ -414,8 +414,6 @@ pango_user_font_class_init (PangoUserFontClass *class)
* Creates a new `PangoUserFont`.
*
* Returns: a newly created `PangoUserFont`
- *
- * Since: 1.52
*/
PangoUserFont *
pango_user_font_new (PangoUserFace *face,
@@ -451,8 +449,6 @@ pango_user_font_new (PangoUserFace *face,
* from a font description.
*
* Returns: a newly created `PangoHbFont`
- *
- * Since: 1.52
*/
PangoUserFont *
diff --git a/pango/pango-utils-internal.h b/pango/pango-utils-internal.h
index 57fe0478a..643a5ad91 100644
--- a/pango/pango-utils-internal.h
+++ b/pango/pango-utils-internal.h
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
@@ -30,7 +30,7 @@
G_BEGIN_DECLS
gboolean _pango_scan_int (const char **pos,
- int *out);
+ int *out);
gboolean _pango_parse_enum (GType type,
const char *str,
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 126bb41b1..874977bc6 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -58,8 +58,6 @@
* number can be encoded into an integer using PANGO_VERSION_ENCODE().
*
* Returns: The encoded version of Pango library available at run time.
- *
- * Since: 1.16
*/
int
pango_version (void)
@@ -78,8 +76,6 @@ pango_version (void)
* Returns: A string containing the version of Pango library available
* at run time. The returned string is owned by Pango and should not
* be modified or freed.
- *
- * Since: 1.16
*/
const char *
pango_version_string (void)
@@ -115,8 +111,6 @@ pango_version_string (void)
* with the given version, or a string describing the version
* mismatch. The returned string is owned by Pango and should not
* be modified or freed.
- *
- * Since: 1.16
*/
const gchar*
pango_version_check (int required_major,
@@ -332,8 +326,6 @@ pango_parse_flags (GType type,
* This is totally different from [func@GLib.unichar_iszerowidth] and is at best misnamed.
*
* Return value: %TRUE if @ch is a zero-width character, %FALSE otherwise
- *
- * Since: 1.10
*/
gboolean
pango_is_zero_width (gunichar ch)
@@ -393,8 +385,6 @@ pango_is_zero_width (gunichar ch)
* Care is taken to make sure @thickness is at least one pixel when this
* function returns, but returned @position may become zero as a result
* of rounding.
- *
- * Since: 1.12
*/
void
pango_quantize_line_geometry (int *thickness,
@@ -428,8 +418,6 @@ pango_quantize_line_geometry (int *thickness,
* rounding the result to nearest integer.
*
* Return value: the value in Pango units.
- *
- * Since: 1.16
*/
int
pango_units_from_double (double d)
@@ -446,8 +434,6 @@ pango_units_from_double (double d)
* The conversion is done by dividing @i by %PANGO_SCALE.
*
* Return value: the double value.
- *
- * Since: 1.16
*/
double
pango_units_to_double (int i)
@@ -477,8 +463,6 @@ pango_units_to_double (int i)
* @inclusive. If you want two touching-but-not-overlapping rectangles stay
* touching-but-not-overlapping after rounding to device units, pass them in
* as @nearest.
- *
- * Since: 1.16
*/
void
pango_extents_to_pixels (PangoRectangle *inclusive,
diff --git a/pango/pango-utils.h b/pango/pango-utils.h
index ee6800f09..ceace9ed1 100644
--- a/pango/pango-utils.h
+++ b/pango/pango-utils.h
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
@@ -30,15 +30,15 @@ G_BEGIN_DECLS
/* A routine from fribidi that we either wrap or provide ourselves.
*/
-PANGO_AVAILABLE_IN_1_4
+PANGO_AVAILABLE_IN_ALL
guint8 * pango_log2vis_get_embedding_levels (const gchar *text,
- int length,
- PangoDirection *pbase_dir);
+ int length,
+ PangoDirection *pbase_dir);
/* Unicode characters that are zero-width and should not be rendered
* normally.
*/
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
PANGO_AVAILABLE_IN_ALL
@@ -61,9 +61,9 @@ void pango_find_paragraph_boundary (const char *text,
* Two encoded version numbers can be compared as integers.
*/
#define PANGO_VERSION_ENCODE(major, minor, micro) ( \
- ((major) * 10000) \
- + ((minor) * 100) \
- + ((micro) * 1))
+ ((major) * 10000) \
+ + ((minor) * 100) \
+ + ((micro) * 1))
/* Encoded version of Pango at compile-time */
/**
@@ -92,9 +92,9 @@ void pango_find_paragraph_boundary (const char *text,
* The micro component of the version of Pango available at compile-time.
*/
#define PANGO_VERSION PANGO_VERSION_ENCODE( \
- PANGO_VERSION_MAJOR, \
- PANGO_VERSION_MINOR, \
- PANGO_VERSION_MICRO)
+ PANGO_VERSION_MAJOR, \
+ PANGO_VERSION_MINOR, \
+ PANGO_VERSION_MICRO)
/* Check that compile-time Pango is as new as required */
/**
@@ -107,19 +107,19 @@ void pango_find_paragraph_boundary (const char *text,
* the provided version number.
*/
#define PANGO_VERSION_CHECK(major,minor,micro) \
- (PANGO_VERSION >= PANGO_VERSION_ENCODE(major,minor,micro))
+ (PANGO_VERSION >= PANGO_VERSION_ENCODE(major,minor,micro))
/* Return encoded version of Pango at run-time */
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
int pango_version (void) G_GNUC_CONST;
/* Return run-time Pango version as an string */
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
const char * pango_version_string (void) G_GNUC_CONST;
/* Check that run-time Pango is as new as required */
-PANGO_AVAILABLE_IN_1_16
+PANGO_AVAILABLE_IN_ALL
const char * pango_version_check (int required_major,
int required_minor,
int required_micro) G_GNUC_CONST;
diff --git a/pango/pangocairo-context.c b/pango/pangocairo-context.c
index e0b9ebef5..d72791d71 100644
--- a/pango/pangocairo-context.c
+++ b/pango/pangocairo-context.c
@@ -159,8 +159,6 @@ _pango_cairo_update_context (cairo_t *cr,
*
* If any layouts have been created for the context, it's necessary
* to call [method@Pango.Layout.context_changed] on those layouts.
- *
- * Since: 1.10
*/
void
pango_cairo_update_context (cairo_t *cr,
@@ -184,8 +182,6 @@ pango_cairo_update_context (cairo_t *cr,
* This is a scale factor between points specified in a `PangoFontDescription`
* and Cairo units. The default value is 96, meaning that a 10 point font will
* be 13 units high. (10 * 96. / 72. = 13.3).
- *
- * Since: 1.10
*/
void
pango_cairo_context_set_resolution (PangoContext *context,
@@ -205,8 +201,6 @@ pango_cairo_context_set_resolution (PangoContext *context,
*
* Return value: the resolution in "dots per inch". A negative value will
* be returned if no resolution has previously been set.
- *
- * Since: 1.10
*/
double
pango_cairo_context_get_resolution (PangoContext *context)
@@ -229,8 +223,6 @@ pango_cairo_context_get_resolution (PangoContext *context)
*
* These options override any options that [func@update_context]
* derives from the target surface.
- *
- * Since: 1.10
*/
void
pango_cairo_context_set_font_options (PangoContext *context,
@@ -287,8 +279,6 @@ pango_cairo_context_set_font_options (PangoContext *context,
* Return value: (nullable): the font options previously set on the
* context, or %NULL if no options have been set. This value is
* owned by the context and must not be modified or freed.
- *
- * Since: 1.10
*/
const cairo_font_options_t *
pango_cairo_context_get_font_options (PangoContext *context)
@@ -350,8 +340,6 @@ _pango_cairo_context_get_merged_font_options (PangoContext *context)
* directly, you can use [func@create_layout] instead.
*
* Return value: (transfer full): the newly created `PangoContext`
- *
- * Since: 1.22
*/
PangoContext *
pango_cairo_create_context (cairo_t *cr)
@@ -386,8 +374,6 @@ pango_cairo_create_context (cairo_t *cr)
* application that was laying out large amounts of text.
*
* Return value: (transfer full): the newly created `PangoLayout`
- *
- * Since: 1.10
*/
PangoLayout *
pango_cairo_create_layout (cairo_t *cr)
@@ -412,8 +398,6 @@ pango_cairo_create_layout (cairo_t *cr)
* Updates the private `PangoContext` of a `PangoLayout` created with
* [func@create_layout] to match the current transformation and target
* surface of a Cairo context.
- *
- * Since: 1.10
*/
void
pango_cairo_update_layout (cairo_t *cr,
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index 9e113e6d7..89cf33687 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -289,8 +289,6 @@ done:
*
* Return value: (transfer none) (nullable): the `cairo_scaled_font_t`
* used by @font
- *
- * Since: 1.18
*/
cairo_scaled_font_t *
pango_cairo_font_get_scaled_font (PangoCairoFont *cfont)
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index 10de5e73d..2173b0725 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -68,8 +68,6 @@ pango_cairo_font_map_default_init (PangoCairoFontMapIface *iface)
*
* Return value: (transfer full): the newly allocated `PangoFontMap`,
* which should be freed with g_object_unref().
- *
- * Since: 1.10
*/
PangoFontMap *
pango_cairo_font_map_new (void)
@@ -121,8 +119,6 @@ pango_cairo_font_map_new (void)
* `PangoFontMap` of suitable type which should be freed with
* g_object_unref(), or %NULL if the requested cairo font backend
* is not supported / compiled in.
- *
- * Since: 1.18
*/
PangoFontMap *
pango_cairo_font_map_new_for_font_type (cairo_font_type_t fonttype)
@@ -166,8 +162,6 @@ static GPrivate default_font_map = G_PRIVATE_INIT (g_object_unref); /* MT-safe *
* Return value: (transfer none): the default PangoCairo fontmap
* for the current thread. This object is owned by Pango and must
* not be freed.
- *
- * Since: 1.10
*/
PangoFontMap *
pango_cairo_font_map_get_default (void)
@@ -202,8 +196,6 @@ pango_cairo_font_map_get_default (void)
* A value of %NULL for @fontmap will cause the current default
* font map to be released and a new default font map to be created
* on demand, using [func PangoCairo FontMap new].
- *
- * Since: 1.22
*/
void
pango_cairo_font_map_set_default (PangoCairoFontMap *fontmap)
@@ -228,8 +220,6 @@ pango_cairo_font_map_set_default (PangoCairoFontMap *fontmap)
* points specified in a `PangoFontDescription` and Cairo units. The
* default value is 96, meaning that a 10 point font will be 13
* units high. (10 * 96. / 72. = 13.3).
- *
- * Since: 1.10
*/
void
pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap,
@@ -249,8 +239,6 @@ pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap,
* See [method@PangoCairo.FontMap.set_resolution].
*
* Return value: the resolution in "dots per inch"
- *
- * Since: 1.10
**/
double
pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap)
@@ -267,8 +255,6 @@ pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap)
* Gets the type of Cairo font backend that @fontmap uses.
*
* Return value: the `cairo_font_type_t` cairo font backend type
- *
- * Since: 1.18
*/
cairo_font_type_t
pango_cairo_font_map_get_font_type (PangoCairoFontMap *fontmap)
diff --git a/pango/pangocairo-render.c b/pango/pangocairo-render.c
index 4deb80be5..afb2a9346 100644
--- a/pango/pangocairo-render.c
+++ b/pango/pangocairo-render.c
@@ -1032,8 +1032,6 @@ _pango_cairo_do_error_underline (cairo_t *cr,
*
* The origin of the glyphs (the left edge of the baseline) will
* be drawn at the current point of the cairo context.
- *
- * Since: 1.10
*/
void
pango_cairo_show_glyph_string (cairo_t *cr,
@@ -1064,8 +1062,6 @@ pango_cairo_show_glyph_string (cairo_t *cr,
*
* Note that @text is the start of the text for layout, which is then
* indexed by `glyph_item->item->offset`.
- *
- * Since: 1.22
*/
void
pango_cairo_show_glyph_item (cairo_t *cr,
@@ -1128,8 +1124,6 @@ pango_cairo_show_lines (cairo_t *cr,
*
* The top-left corner of the `PangoLayout` will be drawn
* at the current point of the cairo context.
- *
- * Since: 1.10
*/
void
pango_cairo_show_layout (cairo_t *cr,
@@ -1156,8 +1150,6 @@ pango_cairo_show_layout (cairo_t *cr,
* The width of the underline is rounded to an integer
* number of up/down segments and the resulting rectangle is centered in the
* original rectangle.
- *
- * Since: 1.14
*/
void
pango_cairo_show_error_underline (cairo_t *cr,
@@ -1183,8 +1175,6 @@ pango_cairo_show_error_underline (cairo_t *cr,
*
* The origin of the glyphs (the left edge of the baseline)
* will be at the current point of the cairo context.
- *
- * Since: 1.10
*/
void
pango_cairo_glyph_string_path (cairo_t *cr,
@@ -1227,8 +1217,6 @@ pango_cairo_line_path (cairo_t *cr,
*
* The top-left corner of the `PangoLayout` will be at the
* current point of the cairo context.
- *
- * Since: 1.10
*/
void
pango_cairo_layout_path (cairo_t *cr,
@@ -1275,8 +1263,6 @@ pango_cairo_lines_path (cairo_t *cr,
*
* The width of the underline is rounded to an integer number of up/down
* segments and the resulting rectangle is centered in the original rectangle.
- *
- * Since: 1.14
*/
void
pango_cairo_error_underline_path (cairo_t *cr,
diff --git a/pango/pangocairo.h b/pango/pangocairo.h
index 385e1228a..c66205cb5 100644
--- a/pango/pangocairo.h
+++ b/pango/pangocairo.h
@@ -35,9 +35,7 @@ G_BEGIN_DECLS
*
* The actual type of the font will depend on the particular
* font technology Cairo was compiled to use.
- *
- * Since: 1.18
- **/
+ */
typedef struct _PangoCairoFont PangoCairoFont;
/* This is a hack because PangoCairo is hijacking the Pango namespace, but
@@ -62,9 +60,7 @@ typedef struct _PangoCairoFont PangoCairoFont;
*
* The actual type of the font map will depend on the particular
* font technology Cairo was compiled to use.
- *
- * Since: 1.10
- **/
+ */
typedef struct _PangoCairoFontMap PangoCairoFontMap;
#ifdef __GI_SCANNER__
@@ -80,71 +76,71 @@ typedef struct _PangoCairoFontMap PangoCairoFontMap;
/*
* PangoCairoFontMap
*/
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
GType pango_cairo_font_map_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
PangoFontMap *pango_cairo_font_map_new (void);
-PANGO_AVAILABLE_IN_1_18
+PANGO_AVAILABLE_IN_ALL
PangoFontMap *pango_cairo_font_map_new_for_font_type (cairo_font_type_t fonttype);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
PangoFontMap *pango_cairo_font_map_get_default (void);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_font_map_set_default (PangoCairoFontMap *fontmap);
-PANGO_AVAILABLE_IN_1_18
+PANGO_AVAILABLE_IN_ALL
cairo_font_type_t pango_cairo_font_map_get_font_type (PangoCairoFontMap *fontmap);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap,
double dpi);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
double pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap);
/*
* PangoCairoFont
*/
-PANGO_AVAILABLE_IN_1_18
+PANGO_AVAILABLE_IN_ALL
GType pango_cairo_font_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_18
+PANGO_AVAILABLE_IN_ALL
cairo_scaled_font_t *pango_cairo_font_get_scaled_font (PangoCairoFont *font);
/* Update a Pango context for the current state of a cairo context
*/
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_update_context (cairo_t *cr,
PangoContext *context);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_context_set_font_options (PangoContext *context,
const cairo_font_options_t *options);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
const cairo_font_options_t *pango_cairo_context_get_font_options (PangoContext *context);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_context_set_resolution (PangoContext *context,
double dpi);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
double pango_cairo_context_get_resolution (PangoContext *context);
/* Convenience
*/
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
PangoContext *pango_cairo_create_context (cairo_t *cr);
PANGO_AVAILABLE_IN_ALL
PangoLayout *pango_cairo_create_layout (cairo_t *cr);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_update_layout (cairo_t *cr,
PangoLayout *layout);
/*
* Rendering
*/
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_show_glyph_string (cairo_t *cr,
PangoFont *font,
PangoGlyphString *glyphs);
-PANGO_AVAILABLE_IN_1_22
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_show_glyph_item (cairo_t *cr,
const char *text,
PangoGlyphItem *glyph_item);
@@ -154,11 +150,11 @@ void pango_cairo_show_line (cairo_t *cr,
PANGO_AVAILABLE_IN_ALL
void pango_cairo_show_lines (cairo_t *cr,
PangoLines *lines);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_show_layout (cairo_t *cr,
PangoLayout *layout);
-PANGO_AVAILABLE_IN_1_14
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_show_error_underline (cairo_t *cr,
double x,
double y,
@@ -169,11 +165,11 @@ void pango_cairo_show_error_underline (cairo_t *cr,
/*
* Rendering to a path
*/
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_glyph_string_path (cairo_t *cr,
PangoFont *font,
PangoGlyphString *glyphs);
-PANGO_AVAILABLE_IN_1_10
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_layout_path (cairo_t *cr,
PangoLayout *layout);
PANGO_AVAILABLE_IN_ALL
@@ -183,7 +179,7 @@ PANGO_AVAILABLE_IN_ALL
void pango_cairo_lines_path (cairo_t *cr,
PangoLines *lines);
-PANGO_AVAILABLE_IN_1_14
+PANGO_AVAILABLE_IN_ALL
void pango_cairo_error_underline_path (cairo_t *cr,
double x,
double y,
diff --git a/pango/pangocoretext-hbfontmap.h b/pango/pangocoretext-hbfontmap.h
index b668a389c..aae7d5c3a 100644
--- a/pango/pangocoretext-hbfontmap.h
+++ b/pango/pangocoretext-hbfontmap.h
@@ -25,10 +25,10 @@ G_BEGIN_DECLS
#define PANGO_TYPE_CORE_TEXT_HB_FONT_MAP (pango_core_text_hb_font_map_get_type ())
-PANGO_AVAILABLE_IN_1_52
+PANGO_AVAILABLE_IN_ALL
PANGO_DECLARE_INTERNAL_TYPE (PangoCoreTextHbFontMap, pango_core_text_hb_font_map, PANGO,
CORE_TEXT_HB_FONT_MAP, PangoHbFontMap)
-PANGO_AVAILABLE_IN_1_52
+PANGO_AVAILABLE_IN_ALL
PangoCoreTextHbFontMap * pango_core_text_hb_font_map_new (void);
diff --git a/pango/pangocoretext.c b/pango/pangocoretext.c
index 2fc176e41..ad270a580 100644
--- a/pango/pangocoretext.c
+++ b/pango/pangocoretext.c
@@ -274,8 +274,6 @@ _pango_core_text_font_set_ctfont (PangoCoreTextFont *font,
* Returns the CTFontRef of a font.
*
* Return value: the CTFontRef associated to @font.
- *
- * Since: 1.24
*/
CTFontRef
pango_core_text_font_get_ctfont (PangoCoreTextFont *font)
diff --git a/pango/pangocoretext.h b/pango/pangocoretext.h
index 64fbcf81b..05d94ada2 100644
--- a/pango/pangocoretext.h
+++ b/pango/pangocoretext.h
@@ -39,7 +39,7 @@ typedef struct _PangoCoreTextFontClass PangoCoreTextFontClass;
PANGO_AVAILABLE_IN_ALL
GType pango_core_text_font_get_type (void) G_GNUC_CONST;
-PANGO_AVAILABLE_IN_1_24
+PANGO_AVAILABLE_IN_ALL
CTFontRef pango_core_text_font_get_ctfont (PangoCoreTextFont *font);
G_END_DECLS
diff --git a/pango/pangofc-hbfontmap.c b/pango/pangofc-hbfontmap.c
index f288ef6b4..c00a1a21b 100644
--- a/pango/pangofc-hbfontmap.c
+++ b/pango/pangofc-hbfontmap.c
@@ -557,8 +557,6 @@ pango_fc_hb_font_map_class_init (PangoFcHbFontMapClass *class)
* this font map uses the default fontconfig configuration.
*
* Returns: a new `PangoFcHbFontMap`
- *
- * Since: 1.52
*/
PangoFcHbFontMap *
pango_fc_hb_font_map_new (void)
@@ -576,8 +574,6 @@ pango_fc_hb_font_map_new (void)
*
* Note that changing the fontconfig configuration
* removes all cached font families, faces and fonts.
- *
- * Since: 1.52
*/
void
pango_fc_hb_font_map_set_config (PangoFcHbFontMap *self,
@@ -613,8 +609,6 @@ pango_fc_hb_font_map_set_config (PangoFcHbFontMap *self,
* Returns: (nullable): the `FcConfig` object attached to
* @self, which might be %NULL. The return value is
* owned by Pango and should not be freed.
- *
- * Since: 1.52
*/
FcConfig *
pango_fc_hb_font_map_get_config (PangoFcHbFontMap *self)
diff --git a/pango/pangowin32-fontcache.c b/pango/pangowin32-fontcache.c
index bca802708..1138d7cc1 100644
--- a/pango/pangowin32-fontcache.c
+++ b/pango/pangowin32-fontcache.c
@@ -220,8 +220,6 @@ pango_win32_font_cache_load (PangoWin32FontCache *cache,
* Return value: (nullable): The font structure, or %NULL if the font
* could not be loaded. In order to free this structure, you must call
* [method@Pango.Win32FontCache.unload].
- *
- * Since: 1.16
*/
HFONT
pango_win32_font_cache_loadw (PangoWin32FontCache *cache,
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index d8fc9c1a2..e41480c1e 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -1459,8 +1459,6 @@ get_family_nameA (const LOGFONTA *lfp)
*
* Return value: the newly allocated `PangoFontDescription`, which
* should be freed using [method Pango FontDescription free]
- *
- * Since: 1.12
*/
PangoFontDescription *
pango_win32_font_description_from_logfont (const LOGFONT *lfp)
@@ -1644,8 +1642,6 @@ get_family_nameW (const LOGFONTW *lfp)
*
* Return value: the newly allocated `PangoFontDescription`, which
* should be freed using [method Pango FontDescription free]
- *
- * Since: 1.16
*/
PangoFontDescription *
pango_win32_font_description_from_logfontw (const LOGFONTW *lfp)
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index 538d16ac1..5b840ee39 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -144,8 +144,6 @@ _pango_win32_get_display_dc (void)
* Returns whether debugging is turned on.
*
* Return value: %TRUE if debugging is turned on.
- *
- * Since: 1.2
*/
gboolean
pango_win32_get_debug_flag (void)
@@ -662,9 +660,7 @@ pango_win32_font_logfont (PangoFont *font)
*
* Return value: A newly allocated LOGFONTW struct. It must be
* freed with g_free().
- *
- * Since: 1.16
- **/
+ */
LOGFONTW *
pango_win32_font_logfontw (PangoFont *font)
{
diff --git a/pango/serializer.c b/pango/serializer.c
index fcf26ea89..c57968816 100644
--- a/pango/serializer.c
+++ b/pango/serializer.c
@@ -1752,8 +1752,6 @@ pango_layout_deserialize (PangoContext *context,
* To recreate a font from its serialized form, use [func Pango Font.deserialize].
*
* Returns: a `GBytes` containing the serialized form of @font
- *
- * Since: 1.50
*/
GBytes *
pango_font_serialize (PangoFont *font)
@@ -1793,8 +1791,6 @@ pango_font_serialize (PangoFont *font)
* result of serializing the font again.
*
* Returns: (nullable) (transfer full): a new `PangoFont`
- *
- * Since: 1.50
*/
PangoFont *
pango_font_deserialize (PangoContext *context,
diff --git a/pango/shape.c b/pango/shape.c
index be73da7c1..6ce17b1d2 100644
--- a/pango/shape.c
+++ b/pango/shape.c
@@ -813,8 +813,6 @@ pango_shape_internal (const char *item_text,
* so you do not pass the full paragraph text as @paragraph_text, you need
* to subtract the item offset from their indices before calling
* [func@Pango.shape_with_flags].
- *
- * Since: 1.44
*/
void
pango_shape (const char *item_text,
@@ -853,8 +851,6 @@ pango_shape (const char *item_text,
* so you do not pass the full paragraph text as @paragraph_text, you need
* to subtract the item offset from their indices before calling
* [func@Pango.shape_with_flags].
- *
- * Since: 1.50
*/
void
pango_shape_item (PangoItem *item,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]