forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
82f9e73aba
commit
cf4eb7e1ad
@ -1,5 +1,9 @@
|
||||
2004-06-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
|
||||
"<WINDOWTYPE>" as a valid accel path. (#144427, Philip
|
||||
Kendall)
|
||||
|
||||
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
|
||||
this gets defined for all backends, so linux-fb has a
|
||||
chance of compiling.
|
||||
|
@ -1,5 +1,9 @@
|
||||
2004-06-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
|
||||
"<WINDOWTYPE>" as a valid accel path. (#144427, Philip
|
||||
Kendall)
|
||||
|
||||
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
|
||||
this gets defined for all backends, so linux-fb has a
|
||||
chance of compiling.
|
||||
|
@ -1,5 +1,9 @@
|
||||
2004-06-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
|
||||
"<WINDOWTYPE>" as a valid accel path. (#144427, Philip
|
||||
Kendall)
|
||||
|
||||
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
|
||||
this gets defined for all backends, so linux-fb has a
|
||||
chance of compiling.
|
||||
|
@ -1,5 +1,9 @@
|
||||
2004-06-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
|
||||
"<WINDOWTYPE>" as a valid accel path. (#144427, Philip
|
||||
Kendall)
|
||||
|
||||
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
|
||||
this gets defined for all backends, so linux-fb has a
|
||||
chance of compiling.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user