DescriptionFile: create device elements if they do not exists
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Tue, 25 Jun 2013 11:41:53 +0000 (14:41 +0300)
committerJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 27 Jun 2013 12:15:02 +0000 (15:15 +0300)
commit6a481ee70628b8a8a5f3cd78822544cb64651b49
tree36d5a0bc9a62b697d78e0eada6773d9449eb7f82
parent371939e2e9c275884d35f61e602922670ee92154
DescriptionFile: create device elements if they do not exists

set_device_element() may be called with names of elements that do not
exists yet (non-required elements that are empty by default).

Create elements dynamically in set_device_element(). also, set dlna
namespace for X_DLNACAP and remove the X_DLNACAP element if the
contents are empty.

https://bugzilla.gnome.org/show_bug.cgi?id=703044
src/librygel-core/rygel-description-file.vala