[gtk/wip/otte/listview: 133/215] popover: Remove unneeded vfunc



commit af93c05d2909612ed71f6e7df54eef9706e5ae71
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 91e23d4b3d..4c181f3c63 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -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;


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