diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2004-06-22 15:56:24 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-06-22 15:56:24 +0000 |
commit | cf4eb7e1ad760134e718d82c4df59cbc3818a011 (patch) | |
tree | 41388988f8211e1e6ac05c0a4e957da1e72cf392 /gtk/gtkaccelmap.c | |
parent | 82f9e73aba375063f0102880476de4c8bbd30b1d (diff) | |
download | gtk+-cf4eb7e1ad760134e718d82c4df59cbc3818a011.tar.gz |
Accept "<WINDOWTYPE>" as a valid accel path. (#144427, Philip Kendall)
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
"<WINDOWTYPE>" as a valid accel path. (#144427, Philip
Kendall)
Diffstat (limited to 'gtk/gtkaccelmap.c')
-rw-r--r-- | gtk/gtkaccelmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c index d21bd6d42f..bfdc74af30 100644 --- a/gtk/gtkaccelmap.c +++ b/gtk/gtkaccelmap.c @@ -121,7 +121,7 @@ _gtk_accel_path_is_valid (const gchar *accel_path) accel_path[1] == '<' || accel_path[1] == '>' || !accel_path[1]) return FALSE; p = strchr (accel_path, '>'); - if (!p || p[1] != '/') + if (!p || (p[1] != 0 && p[1] != '/')) return FALSE; return TRUE; } |