[gnome-commander] Get rid of g_strdup_printf() in favor of g_strdup()



commit 29d50c2fc49d6c2dad4828031b670256a6bb487b
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Feb 12 11:17:34 2011 +0100

    Get rid of g_strdup_printf() in favor of g_strdup()

 src/gnome-cmd-con-device.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-con-device.cc b/src/gnome-cmd-con-device.cc
index abffa14..3caba0f 100644
--- a/src/gnome-cmd-con-device.cc
+++ b/src/gnome-cmd-con-device.cc
@@ -114,7 +114,7 @@ static void do_mount_thread_func (GnomeCmdCon *con)
         DEBUG ('m', "mount returned %d and had the exitstatus %d\n", ret, estatus);
 
         if (ret == -1)
-            emsg = g_strdup_printf (_("Failed to execute the mount command"));
+            emsg = g_strdup (_("Failed to execute the mount command"));
         else
             switch (estatus)
             {



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