From 86bf974f5e27486dbe45894bdf2a823bfb7cbfc2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 8 Feb 2006 15:17:44 +0000 Subject: [PATCH] Copy the display_key as well. (#330389, Markku Vire) 2006-02-08 Matthias Clasen * gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key as well. (#330389, Markku Vire) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtkfilesystem.c | 2 ++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index f11493cdeb..c9ca791f21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-08 Matthias Clasen + + * gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key + as well. (#330389, Markku Vire) + 2006-02-08 Tor Lillqvist * gtk-zip.sh.in: Drop the timestamp from the zipfile names. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f11493cdeb..c9ca791f21 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-02-08 Matthias Clasen + + * gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key + as well. (#330389, Markku Vire) + 2006-02-08 Tor Lillqvist * gtk-zip.sh.in: Drop the timestamp from the zipfile names. diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index 440cc57dd9..ef2956aebf 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -86,6 +86,8 @@ gtk_file_info_copy (GtkFileInfo *info) new_info = g_memdup (info, sizeof (GtkFileInfo)); if (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) new_info->mime_type = g_strdup (new_info->mime_type);