[anjuta] project->manager: Remove useless code



commit f757b3e4d5b7fc3006e4e5faa5fc346aacc57538
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sat Dec 18 20:58:03 2010 +0100

    project->manager: Remove useless code

 plugins/project-manager/plugin.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/plugins/project-manager/plugin.c b/plugins/project-manager/plugin.c
index 998e59f..e4663bd 100644
--- a/plugins/project-manager/plugin.c
+++ b/plugins/project-manager/plugin.c
@@ -1276,29 +1276,10 @@ value_removed_current_editor (AnjutaPlugin *plugin,
 }
 
 static void
-add_primary_target (AnjutaProjectNode *node, gpointer data)
-{
-	GList ** list = (GList **)data;
-
-	if (anjuta_project_node_get_full_type (node) & ANJUTA_PROJECT_PRIMARY)
-	{
-		gchar *path;
-		
-		path = g_file_get_uri (anjuta_project_node_get_file (node));
-		
-		*list = g_list_prepend (*list, g_strconcat ("C ", path, NULL));
-		g_free (path);
-	}
-}
-
-static void
 on_project_loaded (AnjutaPmProject *project, GtkTreeIter *parent, gboolean complete, GError *error, ProjectManagerPlugin *plugin)
 {
 	AnjutaStatus *status;
 	gchar *dirname;
-	AnjutaProjectNode *node;
-
-	node = gbf_project_view_get_node_from_iter (plugin->view, parent);
 	
 	dirname = anjuta_util_get_local_path_from_uri (plugin->project_root_uri);
 	status = anjuta_shell_get_status (ANJUTA_PLUGIN (plugin)->shell, NULL);



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