[gtk+/filesystemmodel] Fix a g_strdup_printf()



commit 87bb81887a01243cb5af3596cdfcf0f89edb7706
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 6538b02..34bc6f7 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6329,7 +6329,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]