From d49e7c542187f5705fed1952dceefe61f206626a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Jun 2007 23:49:41 +0000 Subject: 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 --- slv2/gui.h | 9 ++------- src/plugin.c | 9 +++++++++ 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"; +} + -- cgit v1.2.1