Copy the display_key as well. (#330389, Markku Vire)

2006-02-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
	as well.  (#330389, Markku Vire)
This commit is contained in:
Matthias Clasen 2006-02-08 15:19:07 +00:00 committed by Matthias Clasen
parent 37d5ad8f7a
commit 1ebbe4d376
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-02-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
as well. (#330389, Markku Vire)
2006-02-08 Tor Lillqvist <tml@novell.com> 2006-02-08 Tor Lillqvist <tml@novell.com>
* gtk-zip.sh.in: Drop the timestamp from the zipfile names. * gtk-zip.sh.in: Drop the timestamp from the zipfile names.

View File

@ -1,3 +1,8 @@
2006-02-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
as well. (#330389, Markku Vire)
2006-02-08 Tor Lillqvist <tml@novell.com> 2006-02-08 Tor Lillqvist <tml@novell.com>
* gtk-zip.sh.in: Drop the timestamp from the zipfile names. * gtk-zip.sh.in: Drop the timestamp from the zipfile names.

View File

@ -87,6 +87,8 @@ gtk_file_info_copy (GtkFileInfo *info)
new_info = g_memdup (info, sizeof (GtkFileInfo)); new_info = g_memdup (info, sizeof (GtkFileInfo));
if (new_info->display_name) if (new_info->display_name)
new_info->display_name = g_strdup (new_info->display_name); new_info->display_name = g_strdup (new_info->display_name);
if (new_info->display_key)
new_info->display_key = g_strdup (new_info->display_key);
if (new_info->mime_type) if (new_info->mime_type)
new_info->mime_type = g_strdup (new_info->mime_type); new_info->mime_type = g_strdup (new_info->mime_type);