diff options
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r-- | gtk/gtklabel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index cad4982e6d..2aac9270d0 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -4417,7 +4417,7 @@ gtk_label_ensure_select_info (GtkLabel *self) { self->select_info = g_new0 (GtkLabelSelectionInfo, 1); - gtk_widget_set_can_focus (GTK_WIDGET (self), TRUE); + gtk_widget_set_focusable (GTK_WIDGET (self), TRUE); self->select_info->drag_gesture = gtk_gesture_drag_new (); g_signal_connect (self->select_info->drag_gesture, "drag-begin", @@ -4469,7 +4469,7 @@ gtk_label_clear_select_info (GtkLabel *self) gtk_widget_set_cursor (GTK_WIDGET (self), NULL); - gtk_widget_set_can_focus (GTK_WIDGET (self), FALSE); + gtk_widget_set_focusable (GTK_WIDGET (self), FALSE); } } |