[Multi-valued V2 (grilo) 06/12] core: Set an order when creating a relation ship



When relating k1 and k2 keys, the resulting list will be related(k1&k2) =
[related(k1), related(k2)].

Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
---
 src/grl-plugin-registry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index c72fecf..f66fcbf 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -845,7 +845,7 @@ grl_plugin_registry_register_metadata_key_relation (GrlPluginRegistry *registry,
     return;
   }
 
-  /* Merge both relations */
+  /* Merge both relations [related(key1), related(key2)] */
   key1_partners = g_list_concat(key1_partners, key2_partners);
 
   for (key1_peer = key1_partners;
-- 
1.7.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]