[gtk/matthiasc/for-master: 53/56] Text: add missing nullability annotations




commit ec537d75e4192a48ce9f1eebe350e54cd9e96ae4
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Tue Nov 24 18:15:38 2020 +0100

    Text: add missing nullability annotations

 gtk/gtktext.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 83ea98cf3a..8452344f60 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -6564,7 +6564,7 @@ gtk_text_set_placeholder_text (GtkText    *self,
  *
  * Retrieves the text that will be displayed when @self is empty and unfocused
  *
- * Returns: (nullable) (transfer none):a pointer to the placeholder text as a string.
+ * Returns: (nullable) (transfer none): a pointer to the placeholder text as a string.
  *   This string points to internally allocated storage in the widget and must
  *   not be freed, modified or stored. If no placeholder text has been set,
  *   %NULL will be returned.
@@ -6866,7 +6866,7 @@ gtk_text_set_extra_menu (GtkText    *self,
  *
  * Gets the menu model set with gtk_text_set_extra_menu().
  *
- * Returns: (transfer none): (nullable): the menu model
+ * Returns: (transfer none) (nullable): the menu model
  */
 GMenuModel *
 gtk_text_get_extra_menu (GtkText *self)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]