[rygel] media-export: Clarify variable names



commit 478daf128325aefa56f1955da6921c3cf7e410da
Author: Jens Georg <mail jensge org>
Date:   Sun Jun 7 12:57:49 2015 +0200

    media-export: Clarify variable names
    
    Signed-off-by: Jens Georg <mail jensge org>

 .../rygel-media-export-harvesting-task.vala        |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvesting-task.vala 
b/src/plugins/media-export/rygel-media-export-harvesting-task.vala
index fc5756f..fd019f4 100644
--- a/src/plugins/media-export/rygel-media-export-harvesting-task.vala
+++ b/src/plugins/media-export/rygel-media-export-harvesting-task.vala
@@ -283,23 +283,23 @@ public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine,
     }
 
     private void on_extracted_cb (File               file,
-                                  DiscovererInfo?    dlna,
-                                  GUPnPDLNA.Profile? profile,
+                                  DiscovererInfo?    discoverer_info,
+                                  GUPnPDLNA.Profile? dlna_profile,
                                   FileInfo           file_info) {
         if (this.cancellable.is_cancelled ()) {
             this.completed ();
         }
 
         MediaFileItem item;
-        if (dlna == null) {
+        if (discoverer_info == null) {
             item = ItemFactory.create_simple (this.containers.peek_head (),
                                               file,
                                               file_info);
         } else {
             item = ItemFactory.create_from_info (this.containers.peek_head (),
                                                  file,
-                                                 dlna,
-                                                 profile,
+                                                 discoverer_info,
+                                                 dlna_profile,
                                                  file_info);
         }
 


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