[gtk/wip/matthiasc/focus2] notebook: Remove can-focus
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/focus2] notebook: Remove can-focus
- Date: Tue, 12 Mar 2019 01:11:54 +0000 (UTC)
commit 998215942c8e3912b0569489e177623dc058880a
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 11 13:34:00 2019 -0400
notebook: Remove can-focus
This is not really necessary, and removing it makes
the focus chain work better.
gtk/gtknotebook.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index c7fa88bc32..0c48edfbfa 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -1232,7 +1232,6 @@ gtk_notebook_init (GtkNotebook *notebook)
GtkEventController *controller;
GtkGesture *gesture;
- gtk_widget_set_can_focus (GTK_WIDGET (notebook), TRUE);
gtk_widget_set_has_surface (GTK_WIDGET (notebook), FALSE);
notebook->priv = gtk_notebook_get_instance_private (notebook);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]