summaryrefslogtreecommitdiff
path: root/gtk/gtkaspectframe.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/gtkaspectframe.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/gtkaspectframe.c')
-rw-r--r--gtk/gtkaspectframe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index 5e96ecc433..ba035c4e42 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -130,8 +130,6 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
widget_class->size_allocate = gtk_aspect_frame_size_allocate;
widget_class->compute_expand = gtk_aspect_frame_compute_expand;
widget_class->get_request_mode = gtk_aspect_frame_get_request_mode;
- widget_class->grab_focus = gtk_widget_grab_focus_none;
- widget_class->focus = gtk_widget_focus_child;
g_object_class_install_property (gobject_class,
PROP_XALIGN,