From b93631164f2c4c42994ba6cc1717c37f8a5083c5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 10 May 2020 23:58:30 -0400 Subject: Remove lots of focus vfuncs In many cases, the default widget vfuncs work just fine, combined with setting focusable. --- gtk/gtkprogressbar.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gtk/gtkprogressbar.c') diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 4c7d382751..83f2aeaf89 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -176,8 +176,6 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class) gobject_class->finalize = gtk_progress_bar_finalize; widget_class->direction_changed = gtk_progress_bar_direction_changed; - widget_class->grab_focus = gtk_widget_grab_focus_none; - widget_class->focus = gtk_widget_focus_none; g_object_class_override_property (gobject_class, PROP_ORIENTATION, "orientation"); -- cgit v1.2.1