[tracker/rss-enclosures] TrackerMinerFiles: Fix wrong cast in query callback.
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] TrackerMinerFiles: Fix wrong cast in query callback.
- Date: Wed, 24 Nov 2010 01:21:42 +0000 (UTC)
commit a7c642f29de1e9f8f3e70c683f8cb0bde873bc50
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Aug 17 11:54:52 2010 +0200
TrackerMinerFiles: Fix wrong cast in query callback.
src/miners/fs/tracker-miner-files.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 3768775..cc633c3 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -658,12 +658,11 @@ set_up_mount_point_cb (GObject *source,
GAsyncResult *result,
gpointer user_data)
{
+ TrackerSparqlConnection *connection = TRACKER_SPARQL_CONNECTION (source);
gchar *removable_device_urn = user_data;
GError *error = NULL;
- tracker_sparql_connection_update_finish (tracker_miner_get_connection (TRACKER_MINER (source)),
- result,
- &error);
+ tracker_sparql_connection_update_finish (connection, result, &error);
if (error) {
g_critical ("Could not set mount point in database '%s', %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]