[gtk/wip/otte/listview: 57/112] popover: Remove unneeded vfunc



commit ee6ead26671014592004c71b6f32951cd41bf374
Author: Benjamin Otte <otte redhat com>
Date:   Tue Oct 15 03:23:05 2019 +0200

    popover: Remove unneeded vfunc
    
    The vfunc is identical to the GtkWidget implementation it replaces. So
    just keep using that one.

 gtk/gtkpopover.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 8b04947712..13f72526c6 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -685,13 +685,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)
 {
@@ -1374,7 +1367,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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]