[anjuta-extras] Replace "project_root_uri" by constant defined in ianjuta-project-manager.h



commit 40f64ce29d362a45229099d285954961493407ea
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Jun 21 19:30:46 2009 +0200

    Replace "project_root_uri" by constant defined in ianjuta-project-manager.h

 plugins/valgrind/plugin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/valgrind/plugin.c b/plugins/valgrind/plugin.c
index f9a9aa8..17ca863 100644
--- a/plugins/valgrind/plugin.c
+++ b/plugins/valgrind/plugin.c
@@ -207,7 +207,7 @@ on_menu_run_activate (GtkAction *action, AnjutaValgrindPlugin *plugin)
 		bxml = gtk_builder_new ();
 		if (!gtk_builder_add_from_file (bxml, GLADE_FILE, &error))
 		{
-			g_warning ("Couldn't load builder file: s", error->message);
+			g_warning ("Couldn't load builder file: %s", error->message);
 			g_error_free (error);
 		}
 
@@ -229,7 +229,7 @@ on_menu_run_activate (GtkAction *action, AnjutaValgrindPlugin *plugin)
 		node = exec_targets;	
 
 		anjuta_shell_get (ANJUTA_PLUGIN (plugin)->shell,
-			"project_root_uri", G_TYPE_STRING,
+			IANJUTA_PROJECT_MANAGER_PROJECT_ROOT_URI, G_TYPE_STRING,
 			&project_root_uri, NULL);
 		project_root_uri_len = strlen(project_root_uri) + 1;
 	



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