mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
treeviewcolumn: Use focusable when we mean it
The focusable property has taken over the role that can-focus had in GTK 3.
This commit is contained in:
parent
eb61f0fc63
commit
281bb5e2c4
@ -1096,7 +1096,7 @@ gtk_tree_view_column_mnemonic_activate (GtkWidget *widget,
|
||||
|
||||
if (priv->clickable)
|
||||
g_signal_emit_by_name (priv->button, "clicked");
|
||||
else if (gtk_widget_get_can_focus (priv->button))
|
||||
else if (gtk_widget_get_focusable (priv->button))
|
||||
gtk_widget_grab_focus (priv->button);
|
||||
else
|
||||
gtk_widget_grab_focus (priv->tree_view);
|
||||
|
Loading…
Reference in New Issue
Block a user