Only modify the description file from DescriptionFile
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Wed, 26 Jun 2013 15:34:40 +0000 (18:34 +0300)
committerJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 27 Jun 2013 12:15:03 +0000 (15:15 +0300)
commitc03cef824e7ae0163bf5a73833b52c8693ea8a4b
treea82229098abffecaf6a46913fd5440adb0164858
parentc4362eddf85edae8385437f06566b30c0b140e0d
Only modify the description file from DescriptionFile

RootDeviceFactory used to modify the description xml directly. This is
not optimal as DescriptionFile now keeps the elements in the correct
order.

Move the icon element and service element creation code to
DescriptionFile, start using DescriptionFile public methods to modify
the description from RootDeviceFactory. Swap the order of ControlURL
and EventSubURL elements to match the specification.

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