[gtk+] Fix the AtkImage implementation for GtkIconView items
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix the AtkImage implementation for GtkIconView items
- Date: Sun, 1 Dec 2013 23:34:52 +0000 (UTC)
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]