diff options
Diffstat (limited to 'gtk/gtkglarea.c')
-rw-r--r-- | gtk/gtkglarea.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c index 5ee6eb4d0b..6d8ac8f342 100644 --- a/gtk/gtkglarea.c +++ b/gtk/gtkglarea.c @@ -30,6 +30,7 @@ #include "gtkrender.h" #include "gtksnapshot.h" #include "gtknative.h" +#include "gtkwidgetprivate.h" #include <epoxy/gl.h> @@ -782,6 +783,8 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass) widget_class->unrealize = gtk_gl_area_unrealize; widget_class->size_allocate = gtk_gl_area_size_allocate; widget_class->snapshot = gtk_gl_area_snapshot; + widget_class->focus = gtk_widget_focus_none; + widget_class->grab_focus = gtk_widget_grab_focus_none; gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_DRAWING_AREA); |