[grilo-plugins/0.2.x] tracker: Fix compilation



commit 2c7799b80b968e62c555d1a5de226fdbc7b56408
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 22 11:56:47 2016 +0100

    tracker: Fix compilation
    
    Commit 7940ce5f6b was wrongly backported, mentioning "container" instead
    of "box" media.

 src/tracker/grl-tracker-utils.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker/grl-tracker-utils.c b/src/tracker/grl-tracker-utils.c
index 768d315..6689e78 100644
--- a/src/tracker/grl-tracker-utils.c
+++ b/src/tracker/grl-tracker-utils.c
@@ -576,11 +576,11 @@ grl_tracker_build_grilo_media_default (GHashTable *ht)
   } else if (g_hash_table_lookup (ht, RDF_TYPE_IMAGE)) {
     return grl_media_image_new ();
   } else if (g_hash_table_lookup (ht, RDF_TYPE_ARTIST)) {
-    return grl_media_container_new ();
+    return grl_media_box_new ();
   } else if (g_hash_table_lookup (ht, RDF_TYPE_ALBUM)) {
-    return grl_media_container_new ();
-  } else if (g_hash_table_lookup (ht, RDF_TYPE_CONTAINER)) {
-    return grl_media_container_new ();
+    return grl_media_box_new ();
+  } else if (g_hash_table_lookup (ht, RDF_TYPE_BOX)) {
+    return grl_media_box_new ();
   } else if (g_hash_table_lookup (ht, RDF_TYPE_FOLDER)) {
     return grl_media_box_new ();
   }


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