Handle accel_closure being NULL on an accel label. (#139641, Sam
Tue Jun 1 22:41:03 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkmenu.c (get_accel_path): Handle accel_closure being NULL on an accel label. (#139641, Sam Stephenson, patch by Michael Natterer)
This commit is contained in:
committed by
Matthias Clasen
parent
3d7693a13c
commit
f6e4a6ae2b
@@ -1,3 +1,9 @@
|
||||
Tue Jun 1 22:41:03 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
|
||||
NULL on an accel label. (#139641, Sam Stephenson, patch by
|
||||
Michael Natterer)
|
||||
|
||||
Tue Jun 1 22:19:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (theme_subdir_load): Prevent icon
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Jun 1 22:41:03 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
|
||||
NULL on an accel label. (#139641, Sam Stephenson, patch by
|
||||
Michael Natterer)
|
||||
|
||||
Tue Jun 1 22:19:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (theme_subdir_load): Prevent icon
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Jun 1 22:41:03 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
|
||||
NULL on an accel label. (#139641, Sam Stephenson, patch by
|
||||
Michael Natterer)
|
||||
|
||||
Tue Jun 1 22:19:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (theme_subdir_load): Prevent icon
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Jun 1 22:41:03 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
|
||||
NULL on an accel label. (#139641, Sam Stephenson, patch by
|
||||
Michael Natterer)
|
||||
|
||||
Tue Jun 1 22:19:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkicontheme.c (theme_subdir_load): Prevent icon
|
||||
|
||||
@@ -2525,9 +2525,13 @@ get_accel_path (GtkWidget *menu_item,
|
||||
g_object_get (label,
|
||||
"accel_closure", &accel_closure,
|
||||
NULL);
|
||||
accel_group = gtk_accel_group_from_accel_closure (accel_closure);
|
||||
|
||||
*locked = accel_group->lock_count > 0;
|
||||
|
||||
if (accel_closure)
|
||||
{
|
||||
accel_group = gtk_accel_group_from_accel_closure (accel_closure);
|
||||
|
||||
*locked = accel_group->lock_count > 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user