summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-30 23:49:41 +0000
committerDavid Robillard <d@drobilla.net>2007-06-30 23:49:41 +0000
commitd49e7c542187f5705fed1952dceefe61f206626a (patch)
tree60633f359e0c3a567b938d38e00ee7eb48079fe0
parentfca9f2fbccd0c98eda64e832817bfed7af6a9dba (diff)
downloadlilv-d49e7c542187f5705fed1952dceefe61f206626a.tar.gz
lilv-d49e7c542187f5705fed1952dceefe61f206626a.tar.bz2
lilv-d49e7c542187f5705fed1952dceefe61f206626a.zip
Aaaalright then, made it not static and put the code in the library. Stupid warnings.
git-svn-id: http://svn.drobilla.net/lad/slv2@550 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--slv2/gui.h9
-rw-r--r--src/plugin.c9
2 files changed, 11 insertions, 7 deletions
diff --git a/slv2/gui.h b/slv2/gui.h
index 0be22e3..10620c9 100644
--- a/slv2/gui.h
+++ b/slv2/gui.h
@@ -46,13 +46,8 @@ extern "C" {
*
* Time = O(1)
*/
-static const char*
-slv2_gui_type_get_uri(SLV2GUIType type)
-{
- // Only one for now...
- assert(type == SLV2_GTK2_GUI);
- return "http://ll-plugins.nongnu.org/lv2/ext/gtk2gui";
-}
+const char*
+slv2_gui_type_get_uri(SLV2GUIType type);
/** @} */
diff --git a/src/plugin.c b/src/plugin.c
index 783ba23..6e09161 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -590,3 +590,12 @@ slv2_plugin_get_gui_library_uri(SLV2Plugin plugin,
return value;
}
+
+const char*
+slv2_gui_type_get_uri(SLV2GUIType type)
+{
+ // Only one for now...
+ assert(type == SLV2_GTK2_GUI);
+ return "http://ll-plugins.nongnu.org/lv2/ext/gtk2gui";
+}
+