[gtk/wip/otte/matthiasc/popup2: 33/92] icon view accessible: Stop presenting windows
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/matthiasc/popup2: 33/92] icon view accessible: Stop presenting windows
- Date: Fri, 19 Apr 2019 16:08:03 +0000 (UTC)
commit 8a298a4869dbd4e9ee80d437e6496888aa87d4a5
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 17 21:27:39 2019 -0400
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]