forked from AuroraMiddleware/gtk
icon view accessible: Stop presenting windows
Thats really not its business.
This commit is contained in:
parent
86d2fcef16
commit
7d9364655d
@ -614,7 +614,6 @@ static gboolean
|
|||||||
gtk_icon_view_item_accessible_grab_focus (AtkComponent *component)
|
gtk_icon_view_item_accessible_grab_focus (AtkComponent *component)
|
||||||
{
|
{
|
||||||
GtkIconViewItemAccessible *item;
|
GtkIconViewItemAccessible *item;
|
||||||
GtkWidget *toplevel;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_ICON_VIEW_ITEM_ACCESSIBLE (component), FALSE);
|
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_widget_grab_focus (item->widget);
|
||||||
_gtk_icon_view_set_cursor_item (GTK_ICON_VIEW (item->widget), item->item, NULL);
|
_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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user