~ubuntu-branches/ubuntu/maverick/brasero/maverick

« back to all changes in this revision

Viewing changes to libbrasero-utils/brasero-io.c

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-13 18:16:50 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090813181650-zv4i4o8jjbk1ko73
Tags: upstream-2.27.90
ImportĀ upstreamĀ versionĀ 2.27.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
                g_mutex_unlock (priv->lock);
365
365
 
366
366
                data = result->callback_data;
 
367
 
 
368
                /* This is to make sure the object lives
 
369
                 * as long as we need it. */
 
370
                g_object_ref (base->object);
 
371
 
367
372
                if (result->uri || result->info || result->error)
368
373
                        result->base->callback (base->object,
369
374
                                                result->error,
371
376
                                                result->info,
372
377
                                                data? data->callback_data:NULL);
373
378
 
374
 
                /* Else this is just to call destroy () for callback data */
 
379
                /* call destroy () for callback data */
375
380
                brasero_io_unref_result_callback_data (data,
376
381
                                                       base->object,
377
382
                                                       base->destroy,
378
383
                                                       FALSE);
379
384
 
 
385
                g_object_unref (base->object);
 
386
 
380
387
                brasero_io_job_result_free (result);
381
388
 
382
389
                g_mutex_lock (priv->lock);