mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 09:50:06 +00:00
fix comment typo
This commit is contained in:
parent
71b723ede2
commit
47f63b8cb2
@ -1426,7 +1426,7 @@ gtk_menu_real_can_activate_accel (GtkWidget *widget,
|
|||||||
/* menu items chain here to figure whether they can activate their accelerators.
|
/* menu items chain here to figure whether they can activate their accelerators.
|
||||||
* despite ordinary widgets, menus allow accel activation even if invisible
|
* despite ordinary widgets, menus allow accel activation even if invisible
|
||||||
* since that's the usual case for submenus/popup-menus. however, the state
|
* since that's the usual case for submenus/popup-menus. however, the state
|
||||||
* of the attch widget affects "activeness" of the menu.
|
* of the attach widget affects "activeness" of the menu.
|
||||||
*/
|
*/
|
||||||
GtkWidget *awidget = gtk_menu_get_attach_widget (GTK_MENU (widget));
|
GtkWidget *awidget = gtk_menu_get_attach_widget (GTK_MENU (widget));
|
||||||
return awidget ? gtk_widget_can_activate_accel (awidget, signal_id) : GTK_WIDGET_IS_SENSITIVE (widget);
|
return awidget ? gtk_widget_can_activate_accel (awidget, signal_id) : GTK_WIDGET_IS_SENSITIVE (widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user