[gtk+/gtk-3-4] Document removing of accelerators
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-4] Document removing of accelerators
- Date: Sun, 15 Jul 2012 04:53:07 +0000 (UTC)
commit e344f795b443a8f38190b444fbc3abe71e5656e2
Author: Holger Berndt <hb gnome org>
Date: Thu May 17 16:12:55 2012 +0200
Document removing of accelerators
https://bugzilla.gnome.org/show_bug.cgi?id=676243
gtk/gtkaccelmap.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c
index 5ab19b5..8dcdc5b 100644
--- a/gtk/gtkaccelmap.c
+++ b/gtk/gtkaccelmap.c
@@ -207,6 +207,9 @@ _gtk_accel_path_is_valid (const gchar *accel_path)
* To change the accelerator during runtime programatically, use
* gtk_accel_map_change_entry().
*
+ * Set @accel_key and @accel_mods to 0 to request a removal of
+ * the accelerator.
+ *
* Note that @accel_path string will be stored in a #GQuark. Therefore, if you
* pass a static string, you can save some memory by interning it first with
* g_intern_static_string().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]