summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2020-11-24 18:32:48 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-12-02 10:29:16 -0500
commitad30ac3932a32e2412f41c36f19a30f7c6f08769 (patch)
tree72ff48d5231ffb4a4d7f493e6b05ce3cfe56f55c /gtk
parent9d52ca18875fca67b27b1f705500af29ddbc23bc (diff)
downloadgtk+-ad30ac3932a32e2412f41c36f19a30f7c6f08769.tar.gz
Shortcut: add missing nullability annotations
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkshortcut.c4
1 files 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)