[gtk/bilelmoussaoui/g-i-2: 2/5] gtk: mark CheckButton constructors as not nullable




commit 3915a5dc611c04fa3bf386480b6a79b9d452722a
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Jan 1 21:30:12 2022 +0100

    gtk: mark CheckButton constructors as not nullable
    
    Similar to GtkImage, there's already a gtk_check_button_new
    that could be used in such cases

 gtk/gtkcheckbutton.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 4357a10010..f88a1ee258 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -694,7 +694,7 @@ gtk_check_button_new (void)
 
 /**
  * gtk_check_button_new_with_label:
- * @label: (nullable): the text for the check button.
+ * @label: the text for the check button.
  *
  * Creates a new `GtkCheckButton` with the given text.
  *
@@ -708,7 +708,7 @@ gtk_check_button_new_with_label (const char *label)
 
 /**
  * gtk_check_button_new_with_mnemonic:
- * @label: (nullable): The text of the button, with an underscore
+ * @label: The text of the button, with an underscore
  *   in front of the mnemonic character
  *
  * Creates a new `GtkCheckButton` with the given text and a mnemonic.


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