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
This commit is contained in:
Matthias Clasen 2013-12-01 18:33:38 -05:00
parent 8377c12b15
commit 96c0903799

View File

@ -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;
}