brasero r1571 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1571 - in trunk: . src
- Date: Thu, 27 Nov 2008 17:24:39 +0000 (UTC)
Author: philippr
Date: Thu Nov 27 17:24:39 2008
New Revision: 1571
URL: http://svn.gnome.org/viewvc/brasero?rev=1571&view=rev
Log:
Really set the track information
* src/brasero-audio-disc.c
(brasero_audio_disc_set_session_contents):
Modified:
trunk/ChangeLog
trunk/src/brasero-audio-disc.c
Modified: trunk/src/brasero-audio-disc.c
==============================================================================
--- trunk/src/brasero-audio-disc.c (original)
+++ trunk/src/brasero-audio-disc.c Thu Nov 27 17:24:39 2008
@@ -2108,18 +2108,10 @@
gint64 end;
gint64 start;
gint64 length;
- gboolean isrc_set;
- gboolean title_set;
- gboolean artist_set;
- gboolean composer_set;
BraseroSongInfo *info;
gtk_tree_model_get (model, &iter,
URI_COL, &uri,
- TITLE_SET_COL, &title_set,
- ARTIST_SET_COL, &artist_set,
- COMPOSER_SET_COL, &composer_set,
- ISRC_SET_COL, &isrc_set,
NAME_COL, &title,
ARTIST_COL, &artist,
COMPOSER_COL, &composer,
@@ -2140,23 +2132,10 @@
info = g_new0 (BraseroSongInfo, 1);
- if (title_set)
- info->title = title;
- else
- g_free (title);
-
- if (artist_set)
- info->artist = artist;
- else
- g_free (artist);
-
- if (composer_set)
- info->composer = composer;
- else
- g_free (composer);
-
- if (isrc_set)
- info->isrc = isrc;
+ info->title = title;
+ info->artist = artist;
+ info->composer = composer;
+ info->isrc = isrc;
track = brasero_track_new (BRASERO_TRACK_TYPE_AUDIO);
brasero_track_set_audio_source (track,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]