[tracker] Remove unused functions tracker_turtle_add_metadata*



commit a15e5a6a55b4d942fbf25b6c05fd5c72192feb41
Author: Jürg Billeter <j bitron ch>
Date:   Wed Apr 15 14:32:58 2009 +0200

    Remove unused functions tracker_turtle_add_metadata*
---
 src/libtracker-data/tracker-turtle.c |   39 ----------------------------------
 src/libtracker-data/tracker-turtle.h |    7 ------
 2 files changed, 0 insertions(+), 46 deletions(-)

diff --git a/src/libtracker-data/tracker-turtle.c b/src/libtracker-data/tracker-turtle.c
index 9bd39b9..3f3228f 100644
--- a/src/libtracker-data/tracker-turtle.c
+++ b/src/libtracker-data/tracker-turtle.c
@@ -231,45 +231,6 @@ tracker_turtle_open (const gchar *turtle_file)
 #endif
 }
 
-void 
-tracker_turtle_add_metadata (TurtleFile          *turtle,
-			     const gchar         *uri,
-			     TrackerDataMetadata *metadata)
-{
-#ifdef HAVE_RAPTOR
-	TrackerTurtleMetadataItem *info = g_slice_new (TrackerTurtleMetadataItem);
-
-	info->about_uri = (gchar *) uri;
-	info->metadata = metadata;
-	info->turtle = turtle;
-
-	tracker_data_metadata_foreach (metadata, 
-				       foreach_in_metadata,
-				       info);
-
-	g_slice_free (TrackerTurtleMetadataItem, info);
-#endif /* HAVE_RAPTOR */
-}
-
-void 
-tracker_turtle_add_metadatas (TurtleFile *turtle,
-			      GPtrArray  *metadata_items)
-{
-#ifdef HAVE_RAPTOR
-	guint count;
-
-	for (count = 0; count < metadata_items->len; count++) {
-		TrackerTurtleMetadataItem *item = g_ptr_array_index (metadata_items, count);
-
-		item->turtle = turtle;
-
-		tracker_data_metadata_foreach (item->metadata, 
-					       foreach_in_metadata,
-					       item);
-	}
-#endif /* HAVE_RAPTOR */
-}
-
 void
 tracker_turtle_add_triple (TurtleFile   *turtle,
 			   const gchar  *uri,
diff --git a/src/libtracker-data/tracker-turtle.h b/src/libtracker-data/tracker-turtle.h
index c7872fc..53c9dbb 100644
--- a/src/libtracker-data/tracker-turtle.h
+++ b/src/libtracker-data/tracker-turtle.h
@@ -73,13 +73,6 @@ void        tracker_turtle_add_triple    (TurtleFile           *turtle,
 					  const gchar          *uri,
 					  TrackerField         *property,
 					  const gchar          *value);
-void        tracker_turtle_add_metadata  (TurtleFile           *turtle,
-					  const gchar          *uri,
-					  TrackerDataMetadata  *metadata);
-
-/* @metadata_items contains TrackerTurtleMetadataItem instances */
-void        tracker_turtle_add_metadatas (TurtleFile           *turtle,
-					  GPtrArray            *metadata_items);
 void        tracker_turtle_close         (TurtleFile           *turtle);
 
 /* Reading functions */



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