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
This commit is contained in:
Matthias Clasen 2009-02-28 00:15:01 +00:00
parent fe7220f691
commit b475130e4f
2 changed files with 10 additions and 1 deletions

View File

@ -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()

View File

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