[rygel] core: Chain-up construction method
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: Chain-up construction method
- Date: Fri, 23 Oct 2009 17:15:50 +0000 (UTC)
commit 0db758346a554509524b815a76abd951bacc1562
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Oct 23 19:00:07 2009 +0300
core: Chain-up construction method
Use new vala syntax for chaining-up construction method
src/rygel/rygel-root-device.vala | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/src/rygel/rygel-root-device.vala b/src/rygel/rygel-root-device.vala
index 2ce64c9..26fc0ed 100644
--- a/src/rygel/rygel-root-device.vala
+++ b/src/rygel/rygel-root-device.vala
@@ -36,13 +36,11 @@ public class Rygel.RootDevice: GUPnP.RootDevice {
XMLDoc description_doc,
string description_path,
string description_dir) {
- this.resource_factory = plugin;
- this.root_device = null;
- this.context = context;
-
- this.description_doc = description_doc;
- this.description_path = description_path;
- this.description_dir = description_dir;
+ Object (context : context,
+ resource_factory : plugin,
+ description_doc : description_doc,
+ description_path: description_path,
+ description_dir: description_dir);
this.services = new ArrayList<ServiceInfo> ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]