rygel r472 - trunk/src/plugins/dvb
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r472 - trunk/src/plugins/dvb
- Date: Mon, 19 Jan 2009 21:53:38 +0000 (UTC)
Author: zeeshanak
Date: Mon Jan 19 21:53:38 2009
New Revision: 472
URL: http://svn.gnome.org/viewvc/rygel?rev=472&view=rev
Log:
Create the groups ArrayList before any dbus calls.
Work around for a crasher bug caused by missing null-check in Vala.
Modified:
trunk/src/plugins/dvb/rygel-dvb-content-dir.vala
Modified: trunk/src/plugins/dvb/rygel-dvb-content-dir.vala
==============================================================================
--- trunk/src/plugins/dvb/rygel-dvb-content-dir.vala (original)
+++ trunk/src/plugins/dvb/rygel-dvb-content-dir.vala Mon Jan 19 21:53:38 2009
@@ -55,6 +55,8 @@
return;
}
+ this.groups = new ArrayList<DVBChannelGroup> ();
+
// Get a proxy to DVB Manager object
this.manager = connection.get_object (DVBContentDir.DVB_SERVICE,
DVBContentDir.MANAGER_PATH,
@@ -68,7 +70,6 @@
return;
}
- this.groups = new ArrayList<DVBChannelGroup> ();
foreach (uint group_id in dev_groups) {
string channel_list_path = null;
string group_name = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]