[gtk: 1/2] Add nullable annotation to combo_box_text_get_active_text



commit f00d964f4ff2218f0c0e23f024484047c3251235
Author: Ryan Westlund <rlwestlund gmail com>
Date:   Tue Jul 23 22:09:06 2019 -0400

    Add nullable annotation to combo_box_text_get_active_text

 gtk/gtkcomboboxtext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcomboboxtext.c b/gtk/gtkcomboboxtext.c
index b363f71a53..0db2906d81 100644
--- a/gtk/gtkcomboboxtext.c
+++ b/gtk/gtkcomboboxtext.c
@@ -580,7 +580,7 @@ gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box)
  * function will return its contents (which will not necessarily
  * be an item from the list).
  *
- * Returns: (transfer full): a newly allocated string containing the
+ * Returns: (nullable) (transfer full): a newly allocated string containing the
  *     currently active text. Must be freed with g_free().
  */
 gchar *


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