[gtk+/gtk-2.90] Fix a g_strdup_printf()



commit 2c4a20fe501fb1828f4097c65219b46d234f9094
Author: Federico Mena Quintero <federico novell com>
Date:   Wed Sep 30 17:55:12 2009 -0500

    Fix a g_strdup_printf()
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 gtk/gtkfilechooserdefault.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index ab489b9..d026a8c 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6423,7 +6423,7 @@ show_error_on_reading_current_folder (GtkFileChooserDefault *impl, GError *error
 			    NULL);
   if (info)
     {
-      msg = g_strdup (_("Could not read the contents of %s"), g_file_info_get_display_name (info));
+      msg = g_strdup_printf (_("Could not read the contents of %s"), g_file_info_get_display_name (info));
       g_object_unref (info);
     }
   else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]