rygel r71 - in trunk: . src
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r71 - in trunk: . src
- Date: Tue, 28 Oct 2008 20:59:36 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 20:59:36 2008
New Revision: 71
URL: http://svn.gnome.org/viewvc/rygel?rev=71&view=rev
Log:
tracker gives us empty string rather than null for each unavailable metadata.
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:36 2008
@@ -378,10 +378,10 @@
int width = -1;
int height = -1;
- if (keys[3] != null && values[3] != null)
+ if (keys[3] != null && values[3] != "")
width = values[3].to_int ();
- if (keys[4] != null && values[4] != null)
+ if (keys[4] != null && values[4] != "")
height = values[4].to_int ();
string title;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]