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:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user