diff options
author | Bastien Nocera <hadess@hadess.net> | 2020-07-28 16:13:17 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2020-07-28 16:13:17 +0200 |
commit | 58b78cda4584296c185f753536b0f0ae07d40e5e (patch) | |
tree | 5017c227fd179431f497c3d9a059c39204eca0d2 | |
parent | 9b61d87f3b3550134a49b7f54367b146f8e03710 (diff) | |
download | grilo-58b78cda4584296c185f753536b0f0ae07d40e5e.tar.gz |
registry: Fix crash when using get_plugins() from bindings
grl_registry_get_plugins() is supposed to return a GList of GrlPlugin
but sent back a GList of strings when one asked for all the plugins,
as it returned the keys instead of the values from the plugins
hashtable.
Closes: #141
-rw-r--r-- | src/grl-registry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grl-registry.c b/src/grl-registry.c index f4a3ed1..12e0031 100644 --- a/src/grl-registry.c +++ b/src/grl-registry.c @@ -1708,7 +1708,7 @@ grl_registry_get_plugins (GrlRegistry *registry, } } } else { - plugin_list = g_hash_table_get_keys (registry->priv->plugins); + plugin_list = g_hash_table_get_values (registry->priv->plugins); } return plugin_list; |