[gtk/matthiasc/for-master: 49/56] widget: Add a missing nullability annotation




commit af944aa74c5c3cb727e52f129d35be92d383c2a5
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Dec 2 10:08:58 2020 -0500

    widget: Add a missing nullability annotation

 gtk/gtkwidget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 89635ba8dc..f649acfe74 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5288,7 +5288,7 @@ gtk_widget_set_name (GtkWidget     *widget,
  * Retrieves the name of a widget. See gtk_widget_set_name() for the
  * significance of widget names.
  *
- * Returns: name of the widget. This string is owned by GTK and
+ * Returns: (nullable): name of the widget. This string is owned by GTK and
  * should not be modified or freed
  **/
 const char *


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