forked from AuroraMiddleware/gtk
Use private can_activate() method
Instead of checking the activate_signal field directly.
This commit is contained in:
parent
213024a560
commit
fde32c5219
@ -1452,7 +1452,7 @@ gtk_label_mnemonic_activate (GtkWidget *widget,
|
||||
while (parent)
|
||||
{
|
||||
if (gtk_widget_get_can_focus (parent) ||
|
||||
(!group_cycling && GTK_WIDGET_GET_CLASS (parent)->activate_signal) ||
|
||||
(!group_cycling && gtk_widget_can_activate (parent)) ||
|
||||
GTK_IS_NOTEBOOK (gtk_widget_get_parent (parent)))
|
||||
return gtk_widget_mnemonic_activate (parent, group_cycling);
|
||||
parent = gtk_widget_get_parent (parent);
|
||||
|
Loading…
Reference in New Issue
Block a user