[gtk/matthiasc/for-master: 55/56] Shortcut: add missing nullability annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 55/56] Shortcut: add missing nullability annotations
- Date: Wed, 2 Dec 2020 15:36:49 +0000 (UTC)
commit ad30ac3932a32e2412f41c36f19a30f7c6f08769
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Tue Nov 24 18:32:48 2020 +0100
Shortcut: add missing nullability annotations
gtk/gtkshortcut.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkshortcut.c b/gtk/gtkshortcut.c
index caacf810a6..c0cd24d2ae 100644
--- a/gtk/gtkshortcut.c
+++ b/gtk/gtkshortcut.c
@@ -287,7 +287,7 @@ gtk_shortcut_new_with_arguments (GtkShortcutTrigger *trigger,
*
* Gets the action that is activated by this shortcut.
*
- * Returns: (transfer none): the action
+ * Returns: (transfer none) (nullable): the action
**/
GtkShortcutAction *
gtk_shortcut_get_action (GtkShortcut *self)
@@ -327,7 +327,7 @@ gtk_shortcut_set_action (GtkShortcut *self,
*
* Gets the trigger used to trigger @self.
*
- * Returns: (transfer none): the trigger used
+ * Returns: (transfer none) (nullable): the trigger used
**/
GtkShortcutTrigger *
gtk_shortcut_get_trigger (GtkShortcut *self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]