From 2c1079446f0b06559a683a9f4b0192a4f7637770 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Feb 2011 18:26:57 +0000 Subject: Drop redlandmm for sordmm. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2959 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/PluginModel.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/client/PluginModel.cpp') diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 08e9dad6..5d35902b 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -37,7 +37,7 @@ SLV2World PluginModel::_slv2_world = NULL; SLV2Plugins PluginModel::_slv2_plugins = NULL; #endif -Redland::World* PluginModel::_rdf_world = NULL; +Sord::World* PluginModel::_rdf_world = NULL; PluginModel::PluginModel(Shared::LV2URIMap& uris, @@ -47,7 +47,6 @@ PluginModel::PluginModel(Shared::LV2URIMap& uris, { add_properties(properties); - Glib::Mutex::Lock lock(_rdf_world->mutex()); assert(_rdf_world); add_property("http://www.w3.org/1999/02/22-rdf-syntax-ns#type", this->type_uri()); #ifdef HAVE_SLV2 @@ -177,7 +176,6 @@ PluginModel::port_human_name(uint32_t index) const { #ifdef HAVE_SLV2 if (_slv2_plugin) { - Glib::Mutex::Lock lock(_rdf_world->mutex()); SLV2Port port = slv2_plugin_get_port_by_index(_slv2_plugin, index); SLV2Value name = slv2_port_get_name(_slv2_plugin, port); string ret = slv2_value_as_string(name); @@ -193,8 +191,6 @@ PluginModel::port_human_name(uint32_t index) const bool PluginModel::has_ui() const { - Glib::Mutex::Lock lock(_rdf_world->mutex()); - SLV2Value gtk_gui_uri = slv2_value_new_uri(_slv2_world, "http://lv2plug.in/ns/extensions/ui#GtkUI"); @@ -224,7 +220,6 @@ const string& PluginModel::icon_path() const { if (_icon_path.empty() && _type == LV2) { - Glib::Mutex::Lock lock(_rdf_world->mutex()); _icon_path = get_lv2_icon_path(_slv2_plugin); } -- cgit v1.2.1