diff options
Diffstat (limited to 'src/pluginuiinstance.c')
-rw-r--r-- | src/pluginuiinstance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginuiinstance.c b/src/pluginuiinstance.c index 2c7b60f..189ae6e 100644 --- a/src/pluginuiinstance.c +++ b/src/pluginuiinstance.c @@ -94,7 +94,7 @@ slv2_ui_instance_new(SLV2Plugin plugin, return NULL; } - SLV2Value ui_type = slv2_values_get_at(ui->classes, 0); + SLV2Value ui_type = slv2_values_get_first(ui->classes); if (!widget_type_uri) { widget_type_uri = ui_type; } |