From 76938c03b34ed8cdc1789f1a05a8740208f1cf87 Mon Sep 17 00:00:00 2001 From: James Liggett Date: Sun, 13 Jul 2008 23:06:05 -0700 Subject: [PATCH] Use new project manager interface API to get project root directory --- plugins/git/plugin.c | 2 +- plugins/git/plugin.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/git/plugin.c b/plugins/git/plugin.c index 6f82e7ef..b412f37f 100644 --- a/plugins/git/plugin.c +++ b/plugins/git/plugin.c @@ -492,7 +492,7 @@ git_activate_plugin (AnjutaPlugin *plugin) /* Add watches */ git_plugin->project_root_watch_id = anjuta_plugin_add_watch (plugin, - "project_root_uri", + IANJUTA_PROJECT_MANAGER_PROJECT_ROOT_URI, on_project_root_added, on_project_root_removed, NULL); diff --git a/plugins/git/plugin.h b/plugins/git/plugin.h index 339f5065..7c350cc0 100644 --- a/plugins/git/plugin.h +++ b/plugins/git/plugin.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include -- 2.11.4.GIT