summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-10 23:58:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 00:11:37 -0400
commitb93631164f2c4c42994ba6cc1717c37f8a5083c5 (patch)
tree497b02b6c26080dea1b68ce59fb691fc7619da71 /gtk/gtkbutton.c
parent46bad5d513e4715a912123f825226f3f2b096f06 (diff)
downloadgtk+-b93631164f2c4c42994ba6cc1717c37f8a5083c5.tar.gz
Remove lots of focus vfuncs
In many cases, the default widget vfuncs work just fine, combined with setting focusable.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 1859a088c1..fd9cbf7abc 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -214,8 +214,6 @@ gtk_button_class_init (GtkButtonClass *klass)
widget_class->state_flags_changed = gtk_button_state_flags_changed;
widget_class->grab_notify = gtk_button_grab_notify;
widget_class->unmap = gtk_button_unmap;
- widget_class->grab_focus = gtk_widget_grab_focus_self;
- widget_class->focus = gtk_widget_focus_self;
widget_class->compute_expand = gtk_button_compute_expand;
widget_class->get_request_mode = gtk_button_get_request_mode;