media-export: Fix unowned variable assignment
authorJens Georg <jensg@openismus.com>
Tue, 3 Sep 2013 08:49:39 +0000 (10:49 +0200)
committerJens Georg <jensg@openismus.com>
Tue, 3 Sep 2013 08:49:48 +0000 (10:49 +0200)
src/plugins/media-export/rygel-media-export-item-factory.vala

index 84c0717..14296b9 100644 (file)
@@ -273,7 +273,7 @@ namespace Rygel.MediaExport.ItemFactory {
         if (sample == null) {
             return item;
         }
-        var structure = sample.get_caps ().get_structure (0);
+        unowned Structure structure = sample.get_caps ().get_structure (0);
 
         int image_type;
         structure.get_enum ("image-type",