[pango: 1/2] Fix GIR annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango: 1/2] Fix GIR annotations
- Date: Mon, 17 Oct 2022 15:50:48 +0000 (UTC)
commit bd722bfacb90b9c24c47f2d224fc4dc3c1078c99
Author: Guillaume Gomez <guillaume1 gomez gmail com>
Date: Sun Oct 16 17:58:06 2022 +0000
Fix GIR annotations
pango/pango-context.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 54a0b6839..cbc4f1736 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -123,8 +123,8 @@ pango_context_finalize (GObject *object)
* For instance, the GTK toolkit has, among others,
* `gtk_widget_get_pango_context()`. Use those instead.
*
- * Returns: (transfer full) (nullable): the newly allocated `PangoContext`,
- * which should be freed with g_object_unref().
+ * Returns: (transfer full): the newly allocated `PangoContext`, which should
+ * be freed with g_object_unref().
*/
PangoContext *
pango_context_new (void)
@@ -683,8 +683,8 @@ update_metrics_from_items (PangoFontMetrics *metrics,
* the returned fonts would be a composite of the metrics for the fonts loaded
* for the individual families.
*
- * Returns: (transfer full) (nullable): a `PangoFontMetrics` object. The caller
- * must call [method@Pango.FontMetrics.unref] when finished using the object.
+ * Returns: (transfer full): a `PangoFontMetrics` object. The caller must call
+ * [method@Pango.FontMetrics.unref] when finished using the object.
*/
PangoFontMetrics *
pango_context_get_metrics (PangoContext *context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]