[libdmapsharing] Set def. and min. value of track, year and disc to 0 (not 1) in DAAPRecord. Signed-off-by: W. Michae



commit 4da3d31df74cd9852fa182016aea16a099549c52
Author: W. Michael Petullo <mike flyn org>
Date:   Mon Mar 15 19:33:06 2010 -0400

    Set def. and min. value of track, year and disc to 0 (not 1) in DAAPRecord.
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/daap-record.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libdmapsharing/daap-record.c b/libdmapsharing/daap-record.c
index 79dc4e2..73a7fa5 100644
--- a/libdmapsharing/daap-record.c
+++ b/libdmapsharing/daap-record.c
@@ -103,18 +103,18 @@ daap_record_init (DAAPRecordInterface *iface)
 			g_param_spec_int ("track",
 					  "Song track number",
 					  "Song track number",
-					  1,
+					  0,
 					  G_MAXINT,
-					  1,
+					  0,
 					  G_PARAM_READWRITE));
 
 		g_object_interface_install_property (iface,
 			g_param_spec_int ("year",
 					  "Song publication year",
 					  "Song publication year",
-					  1,
+					  0,
 					  G_MAXINT,
-					  1,
+					  0,
 					  G_PARAM_READWRITE));
 
 		g_object_interface_install_property (iface,
@@ -139,9 +139,9 @@ daap_record_init (DAAPRecordInterface *iface)
 			g_param_spec_int ("disc",
 					  "Song disc number",
 					  "Song disc number",
-					  1,
+					  0,
 					  G_MAXINT,
-					  1,
+					  0,
 					  G_PARAM_READWRITE));
 
 		g_object_interface_install_property (iface,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]