summaryrefslogtreecommitdiff
path: root/gtk/gtkaccellabel.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-06 19:25:47 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-06 19:25:47 +0000
commit582af2369931867e86f28f8a4314964a34fa0ade (patch)
treea552211811d73a7c60b25b8a9c16c79c0a577423 /gtk/gtkaccellabel.c
parenteb7abab27b5bbfaec70d8ab5c1dad62d9d199347 (diff)
downloadgtk+-582af2369931867e86f28f8a4314964a34fa0ade.tar.gz
Don't use GDK_ALT_MASK.
2005-09-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelgroup.c (gtk_accelerator_parse): * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): Don't use GDK_ALT_MASK. * gdk/gdktypes.h: No need to introduce GDK_ALT_MASK
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r--gtk/gtkaccellabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index fcfb80c975..5c783b2110 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -556,7 +556,7 @@ _gtk_accel_label_class_get_accelerator_label (GtkAccelLabelClass *klass,
g_string_append (gstring, klass->mod_name_control);
seen_mod = TRUE;
}
- if (accelerator_mods & GDK_ALT_MASK)
+ if (accelerator_mods & GDK_MOD1_MASK)
{
if (seen_mod)
g_string_append (gstring, klass->mod_separator);