forked from AuroraMiddleware/gtk
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:
parent
fe7220f691
commit
b475130e4f
@ -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()
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user