[anjuta] anjuta: Fix loading of files from command line



commit 1be7cfc7b9e1561a503f44fe6e46bf6522da0867
Author: Johannes Schmid <jhs gnome org>
Date:   Sun Mar 20 12:37:24 2011 -0400

    anjuta: Fix loading of files from command line

 src/anjuta.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/anjuta.c b/src/anjuta.c
index b388787..8151114 100644
--- a/src/anjuta.c
+++ b/src/anjuta.c
@@ -374,7 +374,7 @@ create_window (GFile **files, int n_files, gboolean no_splash,
 			}
 			else
 			{
-				files_load = g_list_prepend (files_load, g_strdup (file));
+				files_load = g_list_prepend (files_load, g_file_get_uri (files[i]));
 			}
 		}
 		if (files_load)



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