[pango/bilelmoussaoui/gi-annotations: 1/2] add missing since 1.50 annotations
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/bilelmoussaoui/gi-annotations: 1/2] add missing since 1.50 annotations
- Date: Fri, 29 Oct 2021 06:58:09 +0000 (UTC)
commit 57573cda1c76b36e77bdfe0c29acf42063ffaecd
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Oct 29 07:55:03 2021 +0100
add missing since 1.50 annotations
pango/pango-attributes.c | 2 ++
pango/pango-layout.c | 6 ++++++
2 files changed, 8 insertions(+)
---
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index a87c661e..c929a3d5 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1644,6 +1644,8 @@ pango_attribute_as_float (PangoAttribute *attr)
*
* Returns: (nullable) (transfer none): The attribute as `PangoAttrString`,
* or %NULL if it's not a string attribute
+ *
+ * Since: 1.50
*/
PangoAttrString *
pango_attribute_as_string (PangoAttribute *attr)
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 6e761f2c..f91b91d3 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -7509,6 +7509,12 @@ pango_layout_iter_get_baseline (PangoLayoutIter *iter)
return iter->line_extents[iter->line_index].baseline;
}
+/**
+ * pango_layout_iter_get_run_baseline
+ * @iter: a `PangoLayoutIter`
+ *
+ * Since: 1.50
+ */
int
pango_layout_iter_get_run_baseline (PangoLayoutIter *iter)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]