[gtk+/gtk-3-0] Fix annotations for gtk_accelerator_parse
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-0] Fix annotations for gtk_accelerator_parse
- Date: Sun, 13 Mar 2011 02:33:31 +0000 (UTC)
commit 7abeab8490565f04e164c854166d4cf9f40130a3
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 12 21:33:04 2011 -0500
Fix annotations for gtk_accelerator_parse
Part of bug 644353, patch by Ulrik Sverdrup.
gtk/gtkaccelgroup.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index 7f09e67..17d945c 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -1141,9 +1141,11 @@ is_hyper (const gchar *string)
/**
* gtk_accelerator_parse:
- * @accelerator: string representing an accelerator
- * @accelerator_key: (out): return location for accelerator keyval
- * @accelerator_mods: (out): return location for accelerator modifier mask
+ * @accelerator: string representing an accelerator
+ * @accelerator_key: (out) (allow-none): return location for accelerator
+ * keyval, or %NULL
+ * @accelerator_mods: (out) (allow-none): return location for accelerator
+ * modifier mask, %NULL
*
* Parses a string representing an accelerator. The
* format looks like "<Control>a" or "<Shift><Alt>F1" or
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]