[gtk/bilelmoussaoui/g-i] gtk: mark gtk_no_selection_get_model nullable
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bilelmoussaoui/g-i] gtk: mark gtk_no_selection_get_model nullable
- Date: Sat, 1 Jan 2022 16:56:41 +0000 (UTC)
commit f846eec894113d561d7083ce9bb5dd2268edc40b
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sat Jan 1 17:56:07 2022 +0100
gtk: mark gtk_no_selection_get_model nullable
The constructor is nullable so should the getter be
gtk/gtknoselection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtknoselection.c b/gtk/gtknoselection.c
index 7727ccc00b..9b48082d6a 100644
--- a/gtk/gtknoselection.c
+++ b/gtk/gtknoselection.c
@@ -242,7 +242,7 @@ gtk_no_selection_new (GListModel *model)
*
* Gets the model that @self is wrapping.
*
- * Returns: (transfer none): The model being wrapped
+ * Returns: (transfer none) (nullable): The model being wrapped
*/
GListModel *
gtk_no_selection_get_model (GtkNoSelection *self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]