rygel r502 - trunk/src/plugins/dvb
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r502 - trunk/src/plugins/dvb
- Date: Wed, 28 Jan 2009 12:33:46 +0000 (UTC)
Author: zeeshanak
Date: Wed Jan 28 12:33:45 2009
New Revision: 502
URL: http://svn.gnome.org/viewvc/rygel?rev=502&view=rev
Log:
No need to provide any equality function to ArrayList.
Modified:
trunk/src/plugins/dvb/rygel-dvb-channel-group.vala
Modified: trunk/src/plugins/dvb/rygel-dvb-channel-group.vala
==============================================================================
--- trunk/src/plugins/dvb/rygel-dvb-channel-group.vala (original)
+++ trunk/src/plugins/dvb/rygel-dvb-channel-group.vala Wed Jan 28 12:33:45 2009
@@ -91,7 +91,7 @@
}
private void fetch_channels () {
- this.channels = new ArrayList<DVBChannel> ((EqualFunc) channel_equal);
+ this.channels = new ArrayList<DVBChannel> ();
DBus.Connection connection;
try {
@@ -127,9 +127,5 @@
this.child_count = this.channels.size;
}
-
- private static bool channel_equal (DVBChannel a, DVBChannel b) {
- return a.id == b.id;
- }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]