[gtk/wip/otte/listview: 93/161] popover: Remove unneeded vfunc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/listview: 93/161] popover: Remove unneeded vfunc
- Date: Thu, 12 Dec 2019 03:39:47 +0000 (UTC)
commit 5b605fe90eb6aa1dd812e670da73452b70839a4f
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]