[anjuta-extras] Update valgrind and profiler plugins for new project manager interface
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjuta-extras] Update valgrind and profiler plugins for new project manager interface
- Date: Sun, 10 Jan 2010 09:29:35 +0000 (UTC)
commit 3059332b7e0cb817ef93172310f349592deb4f7e
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sun Jan 10 10:26:14 2010 +0100
Update valgrind and profiler plugins for new project manager interface
plugins/profiler/plugin.c | 3 ++-
plugins/valgrind/plugin.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/plugins/profiler/plugin.c b/plugins/profiler/plugin.c
index 56b0ec1..55635fe 100644
--- a/plugins/profiler/plugin.c
+++ b/plugins/profiler/plugin.c
@@ -23,6 +23,7 @@
#include "plugin.h"
+#include "libanjuta/anjuta-project.h"
#define UI_FILE PACKAGE_DATA_DIR"/ui/profiler.xml"
@@ -573,7 +574,7 @@ on_profiler_select_target (GtkAction *action, Profiler *profiler)
IAnjutaProjectManager, NULL);
exec_targets = ianjuta_project_manager_get_targets (project_manager,
- IANJUTA_PROJECT_MANAGER_TARGET_EXECUTABLE,
+ ANJUTA_TARGET_EXECUTABLE,
NULL);
project_root_uri_length = strlen (profiler->project_root_uri) + 1;
diff --git a/plugins/valgrind/plugin.c b/plugins/valgrind/plugin.c
index 1538f27..1e1fdac 100644
--- a/plugins/valgrind/plugin.c
+++ b/plugins/valgrind/plugin.c
@@ -25,6 +25,7 @@
#include <glib/gi18n.h>
#include <libanjuta/anjuta-shell.h>
#include <libanjuta/anjuta-debug.h>
+#include <libanjuta/anjuta-project.h>
#include <libanjuta/interfaces/ianjuta-document-manager.h>
#include <libanjuta/interfaces/ianjuta-project-manager.h>
#include <libanjuta/interfaces/ianjuta-preferences.h>
@@ -182,7 +183,7 @@ on_menu_run_activate (GtkAction *action, AnjutaValgrindPlugin *plugin)
exec_targets =
ianjuta_project_manager_get_targets (pm,
- IANJUTA_PROJECT_MANAGER_TARGET_EXECUTABLE,
+ ANJUTA_TARGET_EXECUTABLE,
NULL);
if (exec_targets) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]