diff options
Diffstat (limited to 'gtk/a11y/gtkiconviewaccessible.c')
-rw-r--r-- | gtk/a11y/gtkiconviewaccessible.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/a11y/gtkiconviewaccessible.c b/gtk/a11y/gtkiconviewaccessible.c index 49ab31bca6..dbd0c625b1 100644 --- a/gtk/a11y/gtkiconviewaccessible.c +++ b/gtk/a11y/gtkiconviewaccessible.c @@ -708,7 +708,7 @@ gtk_icon_view_item_accessible_is_showing (GtkIconViewItemAccessible *item) if (icon_view->priv->hadjustment) visible_rect.x += gtk_adjustment_get_value (icon_view->priv->hadjustment); visible_rect.y = 0; - if (icon_view->priv->hadjustment) + if (icon_view->priv->vadjustment) visible_rect.y += gtk_adjustment_get_value (icon_view->priv->vadjustment); visible_rect.width = allocation.width; visible_rect.height = allocation.height; |