[rhythmbox] Zero out new RBDAAPRecord object Signed-off-by: W. Michael Petullo <mike flyn org>
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] Zero out new RBDAAPRecord object Signed-off-by: W. Michael Petullo <mike flyn org>
- Date: Sat, 16 Oct 2010 17:45:19 +0000 (UTC)
commit 7373dbd5962af1d26875ae0c3a6328c7b6373b54
Author: W. Michael Petullo <mike flyn org>
Date: Sat Oct 16 12:43:57 2010 -0500
Zero out new RBDAAPRecord object
Signed-off-by: W. Michael Petullo <mike flyn org>
plugins/daap/rb-daap-record.c | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/plugins/daap/rb-daap-record.c b/plugins/daap/rb-daap-record.c
index 15c1584..0ec5cf5 100644
--- a/plugins/daap/rb-daap-record.c
+++ b/plugins/daap/rb-daap-record.c
@@ -272,6 +272,28 @@ static void
rb_daap_record_init (RBDAAPRecord *record)
{
record->priv = RB_DAAP_RECORD_GET_PRIVATE (record);
+
+ record->priv->location = NULL;
+ record->priv->format = NULL;
+ record->priv->real_format = NULL;
+ record->priv->title = NULL;
+ record->priv->album = NULL;
+ record->priv->artist = NULL;
+ record->priv->genre = NULL;
+ record->priv->sort_artist = NULL;
+ record->priv->sort_album = NULL;
+ record->priv->filesize = 0;
+ record->priv->mediakind = 0;
+ record->priv->rating = 0;
+ record->priv->duration = 0;
+ record->priv->track = 0;
+ record->priv->year = 0;
+ record->priv->firstseen = 0;
+ record->priv->mtime = 0;
+ record->priv->disc = 0;
+ record->priv->bitrate = 0;
+ record->priv->albumid = 0;
+ record->priv->has_video = FALSE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]