[gnome-bluetooth] Always process the system-wide plugins directory
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-bluetooth] Always process the system-wide plugins directory
- Date: Fri, 19 Jun 2009 05:40:53 -0400 (EDT)
commit b6abcb89b90c5ee5d744361cabf0f6b62365b80d
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 19 10:38:28 2009 +0100
Always process the system-wide plugins directory
lib/bluetooth-plugin-manager.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lib/bluetooth-plugin-manager.c b/lib/bluetooth-plugin-manager.c
index dec614b..c8db9ef 100644
--- a/lib/bluetooth-plugin-manager.c
+++ b/lib/bluetooth-plugin-manager.c
@@ -29,6 +29,8 @@
#include <bluetooth-plugin.h>
#include "bluetooth-plugin-manager.h"
+#include "bluetooth-client.h"
+
#define UNINSTALLED_PLUGINDIR "../lib/plugins"
GList *plugin_list = NULL;
@@ -86,8 +88,7 @@ bluetooth_plugin_manager_init (void)
bluetooth_plugin_dir_process ("../lib/plugins/.libs/");
}
- if (g_list_length (plugin_list) == 0)
- bluetooth_plugin_dir_process (PLUGINDIR);
+ bluetooth_plugin_dir_process (PLUGINDIR);
return g_list_length (plugin_list) != 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]