[gtk/bilelmoussaoui/g-i-2: 4/5] gtk: mark LinkButton new_with_label not nullable
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bilelmoussaoui/g-i-2: 4/5] gtk: mark LinkButton new_with_label not nullable
- Date: Sat, 1 Jan 2022 20:36:54 +0000 (UTC)
commit 0de9711c40ae3a795d83e05bedf185ca1ae0b37a
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sat Jan 1 21:33:43 2022 +0100
gtk: mark LinkButton new_with_label not nullable
The new constuctor could be used instead of passing a null label
gtk/gtklinkbutton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index 05234ccd00..2a7dc253d4 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -558,7 +558,7 @@ gtk_link_button_new (const char *uri)
/**
* gtk_link_button_new_with_label:
* @uri: a valid URI
- * @label: (nullable): the text of the button
+ * @label: the text of the button
*
* Creates a new `GtkLinkButton` containing a label.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]