diff options
-rw-r--r-- | src/plugin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c index 1db6302..216e134 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -439,6 +439,13 @@ deploy_do_delete (AnjutaPluginSdk *sp) if (sp->deploy_path) { + if (!gnome_vfs_init()) + { + g_warning("Error while initing gnome vfs!\n"); + deploy_set_state (sp, DEPLOY_STATE_ERROR); + return; + } + uri = gnome_vfs_uri_new (sp->deploy_path); list = g_list_append (list, uri); |