Commit 8d05e742 authored by Alberto Garcia's avatar Alberto Garcia Committed by Matthias Clasen

Make gtk_accelerator_get_default_mod_mask() return a GdkModifierType

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=313350
parent b5621b3c
......@@ -265,7 +265,7 @@ my_widget_expose_event_handler (GtkWidget *widget, GdkEventExpose *event)
static gboolean
my_widget_key_press_event_handler (GtkWidget *widget, GdkEventKey *event)
{
guint modifiers;
GdkModifierType modifiers;
modifiers = gtk_accelerator_get_default_mod_mask (<!-- -->);
......
......@@ -1461,7 +1461,7 @@ gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask)
*
* Gets the value set by gtk_accelerator_set_default_mod_mask().
*/
guint
GdkModifierType
gtk_accelerator_get_default_mod_mask (void)
{
return default_accel_mod_mask;
......
......@@ -168,7 +168,8 @@ gchar* gtk_accelerator_name (guint accelerator_key,
gchar* gtk_accelerator_get_label (guint accelerator_key,
GdkModifierType accelerator_mods);
void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask);
guint gtk_accelerator_get_default_mod_mask (void);
GdkModifierType
gtk_accelerator_get_default_mod_mask (void);
/* --- internal --- */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment