[gtk/bilelmoussaoui/g-i-2: 3/5] gtk: mark new_with_mnemonic param as not nullable
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk/bilelmoussaoui/g-i-2: 3/5] gtk: mark new_with_mnemonic param as not nullable
- Date: Sat,  1 Jan 2022 20:36:54 +0000 (UTC)
commit 4611093a11569c38464d68fbc8b6f0b53f0a07b5
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Jan 1 21:32:24 2022 +0100
    gtk: mark new_with_mnemonic param as not nullable
    
    gtk_*_new could be used in such case
 gtk/gtkexpander.c | 2 +-
 gtk/gtklabel.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 27d94b0112..f1cf388ba7 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -847,7 +847,7 @@ gtk_expander_new (const char *label)
 
 /**
  * gtk_expander_new_with_mnemonic:
- * @label: (nullable): the text of the label with an underscore
+ * @label: the text of the label with an underscore
  *   in front of the mnemonic character
  *
  * Creates a new expander using @label as the text of the label.
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index e0f5565b84..cd6397f914 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2780,7 +2780,7 @@ gtk_label_new (const char *str)
 
 /**
  * gtk_label_new_with_mnemonic:
- * @str: (nullable): The text of the label, with an underscore in front of the
+ * @str: The text of the label, with an underscore in front of the
  *   mnemonic character
  *
  * Creates a new `GtkLabel`, containing the text in @str.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]