From 7d9364655d7ec85c59dfb02a994077668f56ada7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Mar 2019 21:27:39 -0400 Subject: [PATCH] icon view accessible: Stop presenting windows Thats really not its business. --- gtk/a11y/gtkiconviewaccessible.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gtk/a11y/gtkiconviewaccessible.c b/gtk/a11y/gtkiconviewaccessible.c index 5eab1dbdf8..fc02de5a86 100644 --- a/gtk/a11y/gtkiconviewaccessible.c +++ b/gtk/a11y/gtkiconviewaccessible.c @@ -614,7 +614,6 @@ static gboolean gtk_icon_view_item_accessible_grab_focus (AtkComponent *component) { GtkIconViewItemAccessible *item; - GtkWidget *toplevel; g_return_val_if_fail (GTK_IS_ICON_VIEW_ITEM_ACCESSIBLE (component), FALSE); @@ -624,13 +623,6 @@ gtk_icon_view_item_accessible_grab_focus (AtkComponent *component) gtk_widget_grab_focus (item->widget); _gtk_icon_view_set_cursor_item (GTK_ICON_VIEW (item->widget), item->item, NULL); - toplevel = gtk_widget_get_toplevel (GTK_WIDGET (item->widget)); - if (gtk_widget_is_toplevel (toplevel)) - { - G_GNUC_BEGIN_IGNORE_DEPRECATIONS - gtk_window_present (GTK_WINDOW (toplevel)); - G_GNUC_END_IGNORE_DEPRECATIONS - } return TRUE; }