popover: Remove unneeded vfunc

The vfunc is identical to the GtkWidget implementation it replaces. So
just keep using that one.
This commit is contained in:
Benjamin Otte 2019-10-15 03:23:05 +02:00
parent c4043a8eef
commit ed24f93fb9

View File

@ -650,13 +650,6 @@ gtk_popover_unrealize (GtkWidget *widget)
g_clear_object (&priv->surface);
}
static void
gtk_popover_move_focus (GtkWidget *widget,
GtkDirectionType direction)
{
g_signal_emit_by_name (gtk_widget_get_root (widget), "move-focus", direction);
}
static void
gtk_popover_show (GtkWidget *widget)
{
@ -1339,7 +1332,6 @@ gtk_popover_class_init (GtkPopoverClass *klass)
widget_class->measure = gtk_popover_measure;
widget_class->size_allocate = gtk_popover_size_allocate;
widget_class->snapshot = gtk_popover_snapshot;
widget_class->move_focus = gtk_popover_move_focus;
container_class->add = gtk_popover_add;
container_class->remove = gtk_popover_remove;