[tracker/libtracker-sparql-porting: 30/45] tracker-miner-rss: Fixed crash



commit 02c370f7a4496f46eb825e34f0708d762c44cb7d
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Jul 22 18:07:56 2010 +0100

    tracker-miner-rss: Fixed crash

 src/miners/rss/tracker-miner-rss.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/miners/rss/tracker-miner-rss.c b/src/miners/rss/tracker-miner-rss.c
index fe5ff7f..e100f94 100644
--- a/src/miners/rss/tracker-miner-rss.c
+++ b/src/miners/rss/tracker-miner-rss.c
@@ -528,7 +528,7 @@ feeds_retrieve_cb (GObject      *source_object,
 		channels = g_list_prepend (channels, chan);
 	}
 
-	priv = TRACKER_MINER_RSS_GET_PRIVATE (source_object);
+	priv = TRACKER_MINER_RSS_GET_PRIVATE (user_data);
 	feeds_pool_listen (priv->pool, channels);
 }
 
@@ -549,7 +549,7 @@ retrieve_and_schedule_feeds (TrackerMinerRSS *miner)
                                                sparql,
                                                NULL,
                                                feeds_retrieve_cb,
-                                               NULL);
+                                               miner);
 }
 
 static const gchar *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]