summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-17 15:50:47 +0000
committerMatthias Clasen <mclasen@redhat.com>2022-10-17 15:50:47 +0000
commit34d2d850efdfcdea532203be375f9dd7020d65fa (patch)
tree92543dd9d366975ef65a95ea35ba2c6239ea9b78
parent93d615ceeeb67ecc9b3b05340fee1f4b841816b8 (diff)
parentbd722bfacb90b9c24c47f2d224fc4dc3c1078c99 (diff)
downloadpango-34d2d850efdfcdea532203be375f9dd7020d65fa.tar.gz
Merge branch 'fix-gir-annotations' into 'main'
Fix GIR annotations See merge request GNOME/pango!651
-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,