summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-11 15:54:27 +0000
committerDavid Robillard <d@drobilla.net>2007-10-11 15:54:27 +0000
commitf85ecc17d25562efce04ac2711939c610af0f733 (patch)
treea9335f4d06bd04428b1a31bf4956017ea1705c74 /src
parent3319e2dfa3ab5b1732777323da92d08b9ee42b8e (diff)
downloadingen-f85ecc17d25562efce04ac2711939c610af0f733.tar.gz
ingen-f85ecc17d25562efce04ac2711939c610af0f733.tar.bz2
ingen-f85ecc17d25562efce04ac2711939c610af0f733.zip
Attempt at fixing indefined symbols on inferior computers.
git-svn-id: http://svn.drobilla.net/lad/ingen@874 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/libs/gui/ThreadedLoader.cpp3
-rw-r--r--src/libs/module/Module.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/gui/ThreadedLoader.cpp b/src/libs/gui/ThreadedLoader.cpp
index 3a919bf2..a037a711 100644
--- a/src/libs/gui/ThreadedLoader.cpp
+++ b/src/libs/gui/ThreadedLoader.cpp
@@ -128,7 +128,8 @@ ThreadedLoader::save_patch(SharedPtr<PatchModel> model, const string& filename)
void
ThreadedLoader::save_patch_event(SharedPtr<PatchModel> model, const string& filename)
{
- App::instance().serialiser()->to_file(model, filename);
+ if (App::instance().serialiser())
+ App::instance().serialiser()->to_file(model, filename);
}
diff --git a/src/libs/module/Module.cpp b/src/libs/module/Module.cpp
index 83064548..1c6c7788 100644
--- a/src/libs/module/Module.cpp
+++ b/src/libs/module/Module.cpp
@@ -71,7 +71,7 @@ load_module(const string& name)
// Try default directory if not found
module = new Glib::Module(
Glib::Module::build_path(INGEN_MODULE_DIR, name),
- Glib::MODULE_BIND_LAZY|Glib::MODULE_BIND_LOCAL);
+ Glib::MODULE_BIND_LAZY);
if (*module) {
return SharedPtr<Glib::Module>(module);