diff options
author | Benjamin Otte <otte@redhat.com> | 2018-08-21 00:44:47 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-25 23:14:28 -0400 |
commit | 90a34312d45b03b1f1e28a4629ab0136304148b8 (patch) | |
tree | ee89bdeed6d753b5c8b262ec67ae05b79c8411dc /gtk/gtkaccelgroup.h | |
parent | 580863b112063750e57cff74e879e75d857b1561 (diff) | |
download | gtk+-90a34312d45b03b1f1e28a4629ab0136304148b8.tar.gz |
accel: Add display arg to gtk_accelerator_parse_with_keycode()
It was using the default display unconditionally.
Diffstat (limited to 'gtk/gtkaccelgroup.h')
-rw-r--r-- | gtk/gtkaccelgroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkaccelgroup.h b/gtk/gtkaccelgroup.h index cc5d64c58a..2efa868899 100644 --- a/gtk/gtkaccelgroup.h +++ b/gtk/gtkaccelgroup.h @@ -189,6 +189,7 @@ gboolean gtk_accelerator_parse (const gchar *accelerator, GdkModifierType *accelerator_mods); GDK_AVAILABLE_IN_ALL gboolean gtk_accelerator_parse_with_keycode (const gchar *accelerator, + GdkDisplay *display, guint *accelerator_key, guint **accelerator_codes, GdkModifierType *accelerator_mods); |