[brasero] Use new tracker API
- From: Luis Medinas <lmedinas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero] Use new tracker API
- Date: Wed, 17 Feb 2010 02:15:32 +0000 (UTC)
commit 1a9b19e414cfd2023ae3a405fc5435e18363a35a
Author: Luis Medinas <lmedinas gnome org>
Date: Wed Feb 17 02:12:18 2010 +0000
Use new tracker API
Fixes bgo #610186
src/brasero-search-tracker.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/brasero-search-tracker.c b/src/brasero-search-tracker.c
index 4977e7d..28b3dd0 100644
--- a/src/brasero-search-tracker.c
+++ b/src/brasero-search-tracker.c
@@ -55,7 +55,7 @@ brasero_search_tracker_is_available (BraseroSearchEngine *engine)
if (priv->client)
return TRUE;
- priv->client = tracker_connect (TRUE, 30000);
+ priv->client = tracker_client_new (1, 30000);
return (priv->client != NULL);
}
@@ -361,7 +361,7 @@ brasero_search_tracker_init (BraseroSearchTracker *object)
BraseroSearchTrackerPrivate *priv;
priv = BRASERO_SEARCH_TRACKER_PRIVATE (object);
- priv->client = tracker_connect (TRUE, 30000);
+ priv->client = tracker_client_new (1, 30000);
}
static void
@@ -374,7 +374,7 @@ brasero_search_tracker_finalize (GObject *object)
brasero_search_tracker_clean (BRASERO_SEARCH_TRACKER (object));
if (priv->client) {
- tracker_disconnect (priv->client);
+ g_object_unref (priv->client);
priv->client = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]