summaryrefslogtreecommitdiffstats
path: root/src/pluginguiinstance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginguiinstance.c')
-rw-r--r--src/pluginguiinstance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginguiinstance.c b/src/pluginguiinstance.c
index c3a6292..c115751 100644
--- a/src/pluginguiinstance.c
+++ b/src/pluginguiinstance.c
@@ -40,7 +40,7 @@ slv2_plugin_gtk2_gui_instantiate(SLV2Plugin plugin,
{
assert(gui->type == SLV2_VALUE_GUI);
- if (gui->val.gui_type_val != SLV2_GTK2_GUI)
+ if (gui->val.gui_type_val != SLV2_GUI_TYPE_GTK2)
return NULL;
struct _SLV2GUIInstance* result = NULL;