[nautilus-sendto] Resolve symbols immediately when loading modules
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] Resolve symbols immediately when loading modules
- Date: Mon, 28 Sep 2009 16:00:30 +0000 (UTC)
commit 5610f4630c8f401db3c4a5411a37eda72f43d7d5
Author: Bastien Nocera <hadess hadess net>
Date: Mon Sep 28 16:59:21 2009 +0100
Resolve symbols immediately when loading modules
Otherwise we'd exit mid-way if a plugin was badly built.
src/nautilus-sendto-command.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-sendto-command.c b/src/nautilus-sendto-command.c
index 44b9ee6..3a4800b 100644
--- a/src/nautilus-sendto-command.c
+++ b/src/nautilus-sendto-command.c
@@ -620,7 +620,7 @@ nautilus_sendto_plugin_dir_process (const char *plugindir)
p = g_new0(NstPlugin, 1);
module_path = g_module_build_path (plugindir, item);
- p->module = g_module_open (module_path, G_MODULE_BIND_LAZY);
+ p->module = g_module_open (module_path, 0);
if (!p->module) {
g_warning ("error opening %s: %s", module_path, g_module_error ());
g_free (module_path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]