[rygel-grilo] Include "Type" in the set of MediaObject1 properties



commit 46972f41cc22e3390827ca222dbdf65223dab79d
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Thu May 20 17:19:18 2010 +0200

    Include "Type" in the set of MediaObject1 properties
    
    When splitting the properties requested by user, we were adding by mistake
    "Type" property to MediaItem1 interface.

 lib/media-server1-client.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/media-server1-client.c b/lib/media-server1-client.c
index 8a7113b..0c13332 100644
--- a/lib/media-server1-client.c
+++ b/lib/media-server1-client.c
@@ -142,7 +142,8 @@ split_properties_by_interface (gchar **properties)
   for (property = properties; *property; property++) {
     if (g_strcmp0 (*property, MS1_PROP_DISPLAY_NAME) == 0 ||
         g_strcmp0 (*property, MS1_PROP_PARENT) == 0 ||
-        g_strcmp0 (*property, MS1_PROP_PATH) == 0) {
+        g_strcmp0 (*property, MS1_PROP_PATH) == 0 ||
+        g_strcmp0 (*property, MS1_PROP_TYPE) == 0) {
       split[IMEDIAOBJECT1_INDEX][mo_index++] = *property;
     } else if (g_strcmp0 (*property, MS1_PROP_CHILD_COUNT) == 0 ||
                g_strcmp0 (*property, MS1_PROP_ITEMS) == 0 ||



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