[tracker/cursor: 11/15] libtracker-data: Remove unused tracker_dbus_query_result_to_strv



commit 106a71b725ac40f775875fecad701143f242a0ec
Author: Jürg Billeter <j bitron ch>
Date:   Tue Jan 18 16:28:23 2011 +0100

    libtracker-data: Remove unused tracker_dbus_query_result_to_strv

 src/libtracker-data/Makefile.am              |    2 -
 src/libtracker-data/libtracker-data.vapi     |    3 -
 src/libtracker-data/tracker-data-query.c     |    1 -
 src/libtracker-data/tracker-data-update.c    |    1 -
 src/libtracker-data/tracker-data.h           |    1 -
 src/libtracker-data/tracker-db-dbus.c        |   70 ---------
 src/libtracker-data/tracker-db-dbus.h        |   40 -----
 src/miners/fs/tracker-main.c                 |    1 -
 src/tracker-store/tracker-locale-change.c    |    1 -
 tests/libtracker-data/Makefile.am            |    4 +-
 tests/libtracker-data/tracker-db-dbus-test.c |  213 --------------------------
 11 files changed, 1 insertions(+), 336 deletions(-)
---
diff --git a/src/libtracker-data/Makefile.am b/src/libtracker-data/Makefile.am
index 7790e62..4434b1b 100644
--- a/src/libtracker-data/Makefile.am
+++ b/src/libtracker-data/Makefile.am
@@ -35,7 +35,6 @@ libtracker_data_la_SOURCES =                           \
 	tracker-data-query.c                           \
 	tracker-data-update.c                          \
 	tracker-db-config.c                            \
-	tracker-db-dbus.c                              \
 	tracker-db-interface.c                         \
 	tracker-db-interface-sqlite.c                  \
 	tracker-db-manager.c                           \
@@ -69,7 +68,6 @@ noinst_HEADERS =                                       \
 	tracker-data-query.h                           \
 	tracker-data-update.h                          \
 	tracker-db-config.h                            \
-	tracker-db-dbus.h                              \
 	tracker-db-interface.h                         \
 	tracker-db-interface-sqlite.h                  \
 	tracker-db-manager.h                           \
diff --git a/src/libtracker-data/libtracker-data.vapi b/src/libtracker-data/libtracker-data.vapi
index bafb8fa..82af4dc 100644
--- a/src/libtracker-data/libtracker-data.vapi
+++ b/src/libtracker-data/libtracker-data.vapi
@@ -206,7 +206,4 @@ namespace Tracker {
 
 	[CCode (cheader_filename = "libtracker-data/tracker-db-interface-sqlite.h")]
 	public const string COLLATION_NAME;
-
-	[CCode (cheader_filename = "libtracker-data/tracker-db-dbus.h")]
-	public string[] dbus_query_result_to_strv (DBResultSet result_set, int column);
 }
diff --git a/src/libtracker-data/tracker-data-query.c b/src/libtracker-data/tracker-data-query.c
index e391ded..64d55c9 100644
--- a/src/libtracker-data/tracker-data-query.c
+++ b/src/libtracker-data/tracker-data-query.c
@@ -28,7 +28,6 @@
 #include "tracker-class.h"
 #include "tracker-data-manager.h"
 #include "tracker-data-query.h"
-#include "tracker-db-dbus.h"
 #include "tracker-db-interface-sqlite.h"
 #include "tracker-db-manager.h"
 #include "tracker-ontologies.h"
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 855b05f..333bc4c 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -34,7 +34,6 @@
 #include "tracker-data-query.h"
 #include "tracker-db-interface-sqlite.h"
 #include "tracker-db-manager.h"
-#include "tracker-db-dbus.h"
 #include "tracker-db-journal.h"
 #include "tracker-ontologies.h"
 #include "tracker-property.h"
diff --git a/src/libtracker-data/tracker-data.h b/src/libtracker-data/tracker-data.h
index 84e2f8e..e25feb3 100644
--- a/src/libtracker-data/tracker-data.h
+++ b/src/libtracker-data/tracker-data.h
@@ -32,7 +32,6 @@
 #include "tracker-data-query.h"
 #include "tracker-data-update.h"
 #include "tracker-db-config.h"
-#include "tracker-db-dbus.h"
 #include "tracker-db-interface.h"
 #include "tracker-db-interface-sqlite.h"
 #include "tracker-db-journal.h"
diff --git a/src/miners/fs/tracker-main.c b/src/miners/fs/tracker-main.c
index 71f8122..262489d 100644
--- a/src/miners/fs/tracker-main.c
+++ b/src/miners/fs/tracker-main.c
@@ -43,7 +43,6 @@
 #include <libtracker-miner/tracker-miner.h>
 
 #include <libtracker-data/tracker-db-manager.h>
-#include <libtracker-data/tracker-db-dbus.h>
 
 #include "tracker-config.h"
 #include "tracker-marshal.h"
diff --git a/src/tracker-store/tracker-locale-change.c b/src/tracker-store/tracker-locale-change.c
index 7c43f98..b98fc95 100644
--- a/src/tracker-store/tracker-locale-change.c
+++ b/src/tracker-store/tracker-locale-change.c
@@ -29,7 +29,6 @@
 
 #include <libtracker-common/tracker-locale.h>
 #include <libtracker-data/tracker-data-manager.h>
-#include <libtracker-data/tracker-db-dbus.h>
 
 #include "tracker-store.h"
 #include "tracker-events.h"
diff --git a/tests/libtracker-data/Makefile.am b/tests/libtracker-data/Makefile.am
index 47dc42f..0ec6d4b 100644
--- a/tests/libtracker-data/Makefile.am
+++ b/tests/libtracker-data/Makefile.am
@@ -30,8 +30,7 @@ TEST_PROGS +=                                          \
 	tracker-ontology                               \
 	tracker-backup                                 \
 	tracker-ontology-change                        \
-	tracker-db-journal                             \
-	tracker-db-dbus
+	tracker-db-journal
 
 AM_CPPFLAGS =                                          \
 	$(BUILD_CFLAGS)                                \
@@ -56,7 +55,6 @@ tracker_ontology_SOURCES = tracker-ontology-test.c
 tracker_ontology_change_SOURCES = tracker-ontology-change-test.c
 tracker_backup_SOURCES = tracker-backup-test.c
 tracker_db_journal_SOURCES = tracker-db-journal.c
-tracker_db_dbus_SOURCES = tracker-db-dbus-test.c
 
 EXTRA_DIST =                                           \
 	dawg-testcases                                 \



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