~ubuntu-branches/debian/wheezy/brasero/wheezy

« back to all changes in this revision

Viewing changes to plugins/libburnia/burn-libisofs.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Henriksson
  • Date: 2009-12-14 22:35:03 UTC
  • mfrom: (1.2.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20091214223503-aa2l0jrjl85ar2ue
Tags: 2.28.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
453
453
        if (!priv->ctx)
454
454
                return BRASERO_BURN_ERR;
455
455
 
 
456
        result = iso_read_opts_new (&opts, 0);
 
457
        if (result < 0) {
 
458
                g_set_error (error,
 
459
                             BRASERO_BURN_ERROR,
 
460
                             BRASERO_BURN_ERROR_GENERAL,
 
461
                             _("Read options could not be created"));
 
462
                return BRASERO_BURN_ERR;
 
463
        }
 
464
 
456
465
        src = g_new0 (IsoDataSource, 1);
457
466
        src->version = 0;
458
467
        src->refcount = 1;
462
471
        src->free_data = brasero_libisofs_import_free;
463
472
        src->data = priv->ctx->drive;
464
473
 
465
 
        result = iso_read_opts_new (&opts, 0);
466
 
        if (result < 0) {
467
 
                g_set_error (error,
468
 
                             BRASERO_BURN_ERROR,
469
 
                             BRASERO_BURN_ERROR_GENERAL,
470
 
                             _("Read options could not be created"));
471
 
                return BRASERO_BURN_ERR;
472
 
        }
473
 
 
474
474
        brasero_job_get_last_session_address (BRASERO_JOB (self), &session_block);
475
475
        iso_read_opts_set_start_block (opts, session_block);
476
476