server: Use XML namespace instead of a string
authorJens Georg <jensg@openismus.com>
Sat, 19 Oct 2013 08:12:27 +0000 (10:12 +0200)
committerJens Georg <jensg@openismus.com>
Sun, 20 Oct 2013 13:06:20 +0000 (15:06 +0200)
src/librygel-server/rygel-subtitle.vala

index 5f806ef..dbcfeae 100644 (file)
@@ -62,6 +62,6 @@ public class Rygel.Subtitle {
                                                    "CaptionInfoEx",
                                                    this.uri);
 
-        sec_node->new_prop ("sec:type", this.caption_type);
+        sec_node->new_ns_prop (sec_ns, "type", this.caption_type);
     }
 }