diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-12-01 18:33:38 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-12-01 18:33:38 -0500 |
commit | 96c09037994eba1e846e4313c771081e7b2d33d0 (patch) | |
tree | 9de14070d17adc30fc8ad3930668a66ee4ac4154 /gtk/a11y | |
parent | 8377c12b1598c7d92e0dce7d8781fa80e35c7e0c (diff) | |
download | gtk+-96c09037994eba1e846e4313c771081e7b2d33d0.tar.gz |
Fix the AtkImage implementation for GtkIconView items
We were returning uninitialized values for image size and
position.
Found in a pile of patches in
https://bugzilla.gnome.org/review?bug=712760
Diffstat (limited to 'gtk/a11y')
-rw-r--r-- | gtk/a11y/gtkiconviewaccessible.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/a11y/gtkiconviewaccessible.c b/gtk/a11y/gtkiconviewaccessible.c index ce78c22307..2673b19bd8 100644 --- a/gtk/a11y/gtkiconviewaccessible.c +++ b/gtk/a11y/gtkiconviewaccessible.c @@ -237,6 +237,8 @@ get_pixbuf_box (GtkIconView *icon_view, &item->cell_area, &item->cell_area, (GtkCellAllocCallback)get_pixbuf_foreach, &data); + *box = data.box; + return data.pixbuf_found; } |