summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcuttrigger.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-20 20:45:06 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 20:45:06 -0400
commit4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5 (patch)
treee4157e70d282f7e8edac07406c67bb051334d7c7 /gtk/gtkshortcuttrigger.c
parent7fe0610b681c96823c45b88ca2c9657f1320bef8 (diff)
downloadgtk+-4a0d3d7acc35ce7c1f2fcb29facf58b9720eb6a5.tar.gz
docs: Reduce redundancy
Remove a boatload of "or %NULL" from nullable parameters and return values. gi-docgen generates suitable text from the annotation that we don't need to duplicate. This adds a few missing nullable annotations too.
Diffstat (limited to 'gtk/gtkshortcuttrigger.c')
-rw-r--r--gtk/gtkshortcuttrigger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkshortcuttrigger.c b/gtk/gtkshortcuttrigger.c
index 848860ae62..0d0064897c 100644
--- a/gtk/gtkshortcuttrigger.c
+++ b/gtk/gtkshortcuttrigger.c
@@ -126,7 +126,6 @@ gtk_shortcut_trigger_trigger (GtkShortcutTrigger *self,
* `<` and `&gt;` instead of `>`.
*
* Returns: (nullable) (transfer full): a new `GtkShortcutTrigger`
- * or %NULL on error
*/
GtkShortcutTrigger *
gtk_shortcut_trigger_parse_string (const char *string)