~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to src/brasero-data-disc.c

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-10 01:16:00 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080810011600-bfb87m1rs6n0qx16
Tags: upstream-0.8.1
ImportĀ upstreamĀ versionĀ 0.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 * brasero
4
4
 * Copyright (C) Philippe Rouquier 2007-2008 <bonfire-app@wanadoo.fr>
5
5
 * 
6
 
 * brasero is free software.
7
 
 * 
8
 
 * You may redistribute it and/or modify it under the terms of the
9
 
 * GNU General Public License, as published by the Free Software
10
 
 * Foundation; either version 2 of the License, or (at your option)
11
 
 * any later version.
 
6
 *  Brasero is free software; you can redistribute it and/or modify
 
7
 *  it under the terms of the GNU General Public License as published by
 
8
 *  the Free Software Foundation; either version 2 of the License, or
 
9
 *  (at your option) any later version.
12
10
 * 
13
11
 * brasero is distributed in the hope that it will be useful,
14
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1294
1292
        /* Set the number of files in the tree */
1295
1293
        root = brasero_data_project_get_root (priv->project);
1296
1294
        stats = BRASERO_FILE_NODE_STATS (root);
1297
 
        brasero_track_set_data_file_num (track, stats->children);
 
1295
        if (stats)
 
1296
                brasero_track_set_data_file_num (track, stats->children);
1298
1297
 
1299
1298
        joliet_compat = (type.subtype.fs_type & BRASERO_IMAGE_FS_JOLIET);
1300
1299
        brasero_track_add_data_fs (track, type.subtype.fs_type);