[gtk+] Fix the AtkImage implementation for GtkIconView items



commit 96c09037994eba1e846e4313c771081e7b2d33d0
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 1 18:33:38 2013 -0500

    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

 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 ce78c22..2673b19 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;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]