summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-16 17:58:06 +0000
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-17 17:26:12 +0200
commitbd722bfacb90b9c24c47f2d224fc4dc3c1078c99 (patch)
tree9ab7a2105c6ca1d39e5d2cfaa6caf95a61af8dca
parent3c947ecb260977724f2e53a3379df88b26713d1a (diff)
downloadpango-bd722bfacb90b9c24c47f2d224fc4dc3c1078c99.tar.gz
Fix GIR annotations
-rw-r--r--pango/pango-context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 54a0b683..cbc4f173 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,