summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 7802fdd..fa7ebe6 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -611,9 +611,10 @@ slv2_plugin_get_gui_library_uri(SLV2Plugin plugin,
const char*
slv2_gui_type_get_uri(SLV2GUIType type)
{
- // Only one for now...
- assert(type == SLV2_GUI_TYPE_GTK2);
- return "http://ll-plugins.nongnu.org/lv2/ext/gtk2gui";
+ if (type == SLV2_GUI_TYPE_GTK2)
+ return "http://ll-plugins.nongnu.org/lv2/ext/gtk2gui";
+ else
+ return NULL;
}