From: Jens Georg Date: Sat, 2 Jan 2010 20:13:23 +0000 (+0100) Subject: media-export: Minor refactoring X-Git-Tag: RYGEL_0_5_2~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a542f95357b484c181421225057e8adaae18f862;p=profile%2Fivi%2Frygel.git media-export: Minor refactoring --- diff --git a/src/plugins/media-export/rygel-media-export-query-container.vala b/src/plugins/media-export/rygel-media-export-query-container.vala index dad123d..b1a73b5 100644 --- a/src/plugins/media-export/rygel-media-export-query-container.vala +++ b/src/plugins/media-export/rygel-media-export-query-container.vala @@ -113,13 +113,13 @@ internal class Rygel.MediaExportQueryContainer : Rygel.MediaDBContainer { args, offset, max_count == 0 ? -1 : max_count); - foreach (string foo in data) { - if (foo == null) + foreach (string meta_data in data) { + if (meta_data == null) continue; - var new_id = this.id + "," + foo; + var new_id = this.id + "," + meta_data; var container = new MediaExportQueryContainer (this.media_db, - new_id, - foo); + new_id, + meta_data); container.parent = this; container.parent_ref = this; children.add (container);