~ubuntu-branches/ubuntu/lucid/brasero/lucid-updates

« back to all changes in this revision

Viewing changes to src/brasero-search-tracker.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-02-23 10:42:12 UTC
  • mfrom: (1.1.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20100223104212-snrcz0w7zp9sr6uj
Tags: 2.29.91-0ubuntu1
* New upstream release:
  - Fixed bug ##610186 - Use new tracker API.
  - Updated Translations.
* debian/control.in:
  - Bump Standards-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        if (priv->client)
56
56
                return TRUE;
57
57
 
58
 
        priv->client = tracker_connect (TRUE, 30000);
 
58
        priv->client = tracker_client_new (1, 30000);
59
59
        return (priv->client != NULL);
60
60
}
61
61
 
361
361
        BraseroSearchTrackerPrivate *priv;
362
362
 
363
363
        priv = BRASERO_SEARCH_TRACKER_PRIVATE (object);
364
 
        priv->client = tracker_connect (TRUE, 30000);
 
364
        priv->client = tracker_client_new (1, 30000);
365
365
}
366
366
 
367
367
static void
374
374
        brasero_search_tracker_clean (BRASERO_SEARCH_TRACKER (object));
375
375
 
376
376
        if (priv->client) {
377
 
                tracker_disconnect (priv->client);
 
377
                g_object_unref (priv->client);
378
378
                priv->client = NULL;
379
379
        }
380
380