summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-08-20 19:45:51 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-03-18 23:00:51 -0400
commit87df17e4ce85a188429afdd16501766b9b8ceb52 (patch)
tree885ab56c6ffe3fb571bd97448be0d9971a16f612 /gtk/gtkaccelgroup.h
parent673a0463e09757b68739427caa2193e3f88d7fd3 (diff)
downloadgtk+-87df17e4ce85a188429afdd16501766b9b8ceb52.tar.gz
accelerators: Make gtk_accelerator_parse() return TRUE/FALSE
A parse function should return success or not. So do that.
Diffstat (limited to 'gtk/gtkaccelgroup.h')
-rw-r--r--gtk/gtkaccelgroup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkaccelgroup.h b/gtk/gtkaccelgroup.h
index 73c4fc1d40..cc5d64c58a 100644
--- a/gtk/gtkaccelgroup.h
+++ b/gtk/gtkaccelgroup.h
@@ -184,11 +184,11 @@ GDK_AVAILABLE_IN_ALL
gboolean gtk_accelerator_valid (guint keyval,
GdkModifierType modifiers) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
-void gtk_accelerator_parse (const gchar *accelerator,
+gboolean gtk_accelerator_parse (const gchar *accelerator,
guint *accelerator_key,
GdkModifierType *accelerator_mods);
GDK_AVAILABLE_IN_ALL
-void gtk_accelerator_parse_with_keycode (const gchar *accelerator,
+gboolean gtk_accelerator_parse_with_keycode (const gchar *accelerator,
guint *accelerator_key,
guint **accelerator_codes,
GdkModifierType *accelerator_mods);