rygel r314 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r314 - trunk/src/rygel
- Date: Thu, 27 Nov 2008 16:49:19 +0000 (UTC)
Author: zeeshanak
Date: Thu Nov 27 16:49:19 2008
New Revision: 314
URL: http://svn.gnome.org/viewvc/rygel?rev=314&view=rev
Log:
Minor refactor.
Modified:
trunk/src/rygel/rygel-media-server-factory.vala
Modified: trunk/src/rygel/rygel-media-server-factory.vala
==============================================================================
--- trunk/src/rygel/rygel-media-server-factory.vala (original)
+++ trunk/src/rygel/rygel-media-server-factory.vala Thu Nov 27 16:49:19 2008
@@ -113,12 +113,10 @@
/* Host our modified file */
this.context.host_path (desc_path, "/" + modified_desc);
- var server = new MediaServer (this.context,
- plugin,
- doc,
- modified_desc);
-
- return server;
+ return new MediaServer (this.context,
+ plugin,
+ doc,
+ modified_desc);
}
private GUPnP.Context create_upnp_context () throws GLib.Error {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]