rygel r79 - in trunk: . src
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r79 - in trunk: . src
- Date: Tue, 28 Oct 2008 20:59:47 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 20:59:47 2008
New Revision: 79
URL: http://svn.gnome.org/viewvc/rygel?rev=79&view=rev
Log:
No need to check for null on values returned from tracker.
Modified:
trunk/ChangeLog
trunk/src/gupnp-media-tracker.vala
Modified: trunk/src/gupnp-media-tracker.vala
==============================================================================
--- trunk/src/gupnp-media-tracker.vala (original)
+++ trunk/src/gupnp-media-tracker.vala Tue Oct 28 20:59:47 2008
@@ -446,7 +446,7 @@
height = values[5].to_int ();
string title;
- if (values[2] != null && values[2] != "")
+ if (values[2] != "")
title = values[2];
else
/* If title wasn't provided, use filename instead */
@@ -509,7 +509,7 @@
track_number = values[4].to_int ();
string title;
- if (values[2] != null && values[2] != "")
+ if (values[2] != "")
title = values[2];
else
/* If title wasn't provided, use filename instead */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]