summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2014-07-07 22:04:29 +0200
committerJens Georg <mail@jensge.org>2014-07-07 22:04:29 +0200
commit2179c5273e38f0ef858eadb76ee77839d7e2687c (patch)
tree576b1160e78f55ca25acd4f6bd7a38581abaacaf /examples
parent5b9d195f5df1663fd6595250113e8b72e74d9f62 (diff)
downloadrygel-2179c5273e38f0ef858eadb76ee77839d7e2687c.tar.gz
all: Hide MediaObject.uris
Signed-off-by: Jens Georg <mail@jensge.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/standalone-server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/standalone-server.c b/examples/standalone-server.c
index dd9a6a30..67ef1991 100644
--- a/examples/standalone-server.c
+++ b/examples/standalone-server.c
@@ -119,13 +119,11 @@ int main (int argc, char *argv[])
g_free (id);
if (item != NULL) {
- RygelMediaObject *object;
GeeArrayList* uris;
rygel_media_item_set_mime_type (RYGEL_MEDIA_ITEM (item), content_type);
- object = RYGEL_MEDIA_OBJECT (item);
- gee_collection_add (GEE_COLLECTION (object->uris), uri);
+ rygel_media_object_add_uri (RYGEL_MEDIA_OBJECT (item), uri);
rygel_simple_container_add_child_item (root_container, item);
}