[tracker/writeback] Remove unused code.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/writeback] Remove unused code.
- Date: Thu, 26 Nov 2009 11:39:32 +0000 (UTC)
commit 471dd02350abf1bf4d286822cdab54c5a434d8d9
Author: Carlos Garnacho <carlos lanedo com>
Date: Thu Nov 26 12:20:02 2009 +0100
Remove unused code.
src/tracker-writeback/tracker-writeback-consumer.c | 44 --------------------
1 files changed, 0 insertions(+), 44 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-consumer.c b/src/tracker-writeback/tracker-writeback-consumer.c
index ab75d13..75f8b15 100644
--- a/src/tracker-writeback/tracker-writeback-consumer.c
+++ b/src/tracker-writeback/tracker-writeback-consumer.c
@@ -208,50 +208,6 @@ sparql_query_cb (GPtrArray *result,
priv->idle_id = g_idle_add (process_queue_cb, consumer);
}
-#if 0
-static void
-sparql_writeback_cb (DBusGProxy *proxy,
- GHashTable *subjects,
- TrackerWritebackConsumer *object)
-{
- TrackerWritebackConsumerPrivate *priv;
- QueryData *data;
- GHashTableIter iter;
- gpointer key, value;
-
- priv = TRACKER_WRITEBACK_CONSUMER_GET_PRIVATE (object);
-
- g_message ("Writeback signalled with %d subjects...",
- g_hash_table_size (subjects));
-
- g_hash_table_iter_init (&iter, subjects);
-
- while (g_hash_table_iter_next (&iter, &key, &value)) {
- const gchar *subject = key;
- const gchar * const *rdf_types = value;
- gchar *query;
-
- query = g_strdup_printf ("SELECT ?url ?predicate ?object {"
- " <%s> ?predicate ?object ;"
- " nie:isStoredAs ?url ."
- " ?predicate tracker:writeback true "
- "}",
- subject);
-
- data = g_slice_new (QueryData);
- data->consumer = object;
- data->rdf_types = g_strdupv ((gchar **) rdf_types);
-
- tracker_resources_sparql_query_async (priv->client,
- query,
- sparql_query_cb,
- data);
-
- g_free (query);
- }
-}
-#endif
-
static gboolean
process_queue_cb (gpointer user_data)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]