diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-02-28 00:15:01 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-02-28 00:15:01 +0000 |
commit | b475130e4ff21f3e629c43df59a284c7fb736431 (patch) | |
tree | b797dfdba91af730c8bc970393dd8b71d34c4d6a | |
parent | fe7220f69114bf394e2c56eb027cfa9ceabe4fef (diff) | |
download | gtk+-b475130e4ff21f3e629c43df59a284c7fb736431.tar.gz |
Copy the right string. Pointed out by Tommi Rantala
* gtk/gtkiconview.c
(gtk_icon_view_item_accessible_image_set_image_description): Copy
the right string. Pointed out by Tommi Rantala
svn path=/trunk/; revision=22417
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | gtk/gtkiconview.c | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,12 @@ +2009-02-27 Matthias Clasen <mclasen@redhat.com> + + Bug 572968 – GtkIconView: image_description setter function strdups + wrong string + + * gtk/gtkiconview.c + (gtk_icon_view_item_accessible_image_set_image_description): Copy + the right string. Pointed out by Tommi Rantala + 2009-02-27 David Zeuthen <davidz@redhat.com> Bug 573416 – GtkMountOperation fixes for ask_password() diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index bd4663d964..78d24d7134 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -7603,7 +7603,7 @@ gtk_icon_view_item_accessible_image_set_image_description (AtkImage *image, item = GTK_ICON_VIEW_ITEM_ACCESSIBLE (image); g_free (item->image_description); - item->image_description = g_strdup (item->image_description); + item->image_description = g_strdup (description); return TRUE; } |