[gtk+] Fix a g_strdup_printf()



commit 1d283145bffc1e54c10130f0a2c8af147b188e57
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 67d0ee5..38654ab 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6427,7 +6427,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]