[gnome-commander/gcmd-1-2-8] Fixed invalid conversion from const gchar* to char*
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Fixed invalid conversion from const gchar* to char*
- Date: Sat, 21 Dec 2013 22:27:30 +0000 (UTC)
commit 27405c2f7580ecc2d58c85753025825c4b351f70
Author: Uwe Scholz <turboscholz web de>
Date: Wed Dec 11 10:33:26 2013 +0100
Fixed invalid conversion from const gchar* to char*
src/gnome-cmd-user-actions.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 167d8c6..9cac083 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1130,7 +1130,7 @@ void command_root_mode (GtkMenuItem *menuitem, gpointer not_used)
argv[i++] = su;
if (need_c)
argv[i++] = "-c";
- argv[i++] = g_get_prgname ();
+ argv[i++] = g_strdup (g_get_prgname ());
argv[i++] = NULL;
GError *error = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]