[gtk+] Document removing of accelerators
- From: Holger Berndt <hb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Document removing of accelerators
- Date: Fri, 18 May 2012 13:41:58 +0000 (UTC)
commit 479c02a43b4f3ca3cb96285dfa39593505fd66b9
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]