summaryrefslogtreecommitdiff
path: root/gtk/gtkaccellabel.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-01-05 11:12:09 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-01-05 11:12:09 -0500
commit7e3f68d950c3d29bcf2e630a0ebeaec67b4f5901 (patch)
tree1ba14c9f19bf176b4e6b1d7713c3840fdbed23ee /gtk/gtkaccellabel.h
parent29cd52c8549dc1b41e29c5a2bbdad3701e751aeb (diff)
downloadgtk+-7e3f68d950c3d29bcf2e630a0ebeaec67b4f5901.tar.gz
GtkAccelLabel: Add a setter for manual accels
This is needed to keep the a11y keybinding code working.
Diffstat (limited to 'gtk/gtkaccellabel.h')
-rw-r--r--gtk/gtkaccellabel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkaccellabel.h b/gtk/gtkaccellabel.h
index 2a56980c9d..27a5712ae7 100644
--- a/gtk/gtkaccellabel.h
+++ b/gtk/gtkaccellabel.h
@@ -101,6 +101,10 @@ GDK_AVAILABLE_IN_3_6
void gtk_accel_label_set_accel (GtkAccelLabel *accel_label,
guint accelerator_key,
GdkModifierType accelerator_mods);
+GDK_AVAILABLE_IN_3_12
+void gtk_accel_label_get_accel (GtkAccelLabel *accel_label,
+ guint *accelerator_key,
+ GdkModifierType *accelerator_mods);
/* private */
gchar * _gtk_accel_label_class_get_accelerator_label (GtkAccelLabelClass *klass,