[tracker/sam/functional-test-fixes: 6/30] temp mistake
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/functional-test-fixes: 6/30] temp mistake
- Date: Thu, 21 Aug 2014 22:12:37 +0000 (UTC)
commit ebe2416df4c2aca8354b54c3c284f993e2b6b009
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Jul 20 16:44:31 2014 +0100
temp mistake
examples/libtracker-miner/tracker-main.c | 5 +++++
src/libtracker-common/tracker-dbus.c | 5 +++++
src/libtracker-common/tracker-storage.c | 4 ++++
src/libtracker-miner/tracker-crawler.c | 4 ++++
src/libtracker-miner/tracker-media-art.c | 4 ++++
src/libtracker-miner/tracker-miner-fs.c | 4 ++++
src/libtracker-miner/tracker-monitor.c | 4 ++++
src/libtracker-miner/tracker-sparql-buffer.c | 4 ++++
src/miners/fs/tracker-main.c | 4 ++++
src/miners/fs/tracker-miner-files.c | 4 ++++
src/miners/fs/tracker-writeback-dispatcher.c | 4 ++++
src/miners/rss/tracker-miner-rss.c | 4 ++++
src/plugins/evolution/tracker-evolution-plugin.c | 4 ++++
.../libtracker-miner/tracker-file-notifier-test.c | 4 ++++
tests/libtracker-miner/tracker-monitor-test.c | 4 ++++
utils/mtp/mtp-dummy.c | 4 ++++
16 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/examples/libtracker-miner/tracker-main.c b/examples/libtracker-miner/tracker-main.c
index a6699c7..51e9fc8 100644
--- a/examples/libtracker-miner/tracker-main.c
+++ b/examples/libtracker-miner/tracker-main.c
@@ -28,6 +28,11 @@
#include "tracker-miner-test.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
+
static void
miner_finished_cb (TrackerMiner *miner,
gdouble seconds_elapsed,
diff --git a/src/libtracker-common/tracker-dbus.c b/src/libtracker-common/tracker-dbus.c
index b9080b1..09f06f3 100644
--- a/src/libtracker-common/tracker-dbus.c
+++ b/src/libtracker-common/tracker-dbus.c
@@ -43,6 +43,11 @@
*/
#define CLIENT_CLEAN_UP_TIME 300
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name); \
+} while(0);
+
typedef struct {
gchar *sender;
gchar *binary;
diff --git a/src/libtracker-common/tracker-storage.c b/src/libtracker-common/tracker-storage.c
index 34d59f0..070a3fa 100644
--- a/src/libtracker-common/tracker-storage.c
+++ b/src/libtracker-common/tracker-storage.c
@@ -29,6 +29,10 @@
#include "tracker-storage.h"
#include "tracker-utils.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
/**
* SECTION:tracker-storage
* @short_description: Removable storage and mount point convenience API
diff --git a/src/libtracker-miner/tracker-crawler.c b/src/libtracker-miner/tracker-crawler.c
index c38e4f9..f2ceeab 100644
--- a/src/libtracker-miner/tracker-crawler.c
+++ b/src/libtracker-miner/tracker-crawler.c
@@ -43,6 +43,10 @@ typedef struct DirectoryChildData DirectoryChildData;
typedef struct DirectoryProcessingData DirectoryProcessingData;
typedef struct DirectoryRootInfo DirectoryRootInfo;
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
struct DirectoryChildData {
GFile *child;
gboolean is_dir;
diff --git a/src/libtracker-miner/tracker-media-art.c b/src/libtracker-miner/tracker-media-art.c
index c61451b..762e513 100644
--- a/src/libtracker-miner/tracker-media-art.c
+++ b/src/libtracker-miner/tracker-media-art.c
@@ -32,6 +32,10 @@
#include "tracker-media-art.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
/**
* SECTION:tracker-media-art
* @title: Media art management
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index cef50fd..b7d27e2 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -36,6 +36,10 @@
#include "tracker-sparql-buffer.h"
#include "tracker-file-notifier.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
/* If defined will print the tree from GNode while running */
#ifdef CRAWLED_TREE_ENABLE_TRACE
#warning Tree debugging traces enabled
diff --git a/src/libtracker-miner/tracker-monitor.c b/src/libtracker-miner/tracker-monitor.c
index f1a0156..1ba6c61 100644
--- a/src/libtracker-miner/tracker-monitor.c
+++ b/src/libtracker-miner/tracker-monitor.c
@@ -32,6 +32,10 @@
#include "tracker-monitor.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
#define TRACKER_MONITOR_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TRACKER_TYPE_MONITOR,
TrackerMonitorPrivate))
/* If this is enabled, we are assuming that GIO is fixed so that after a CREATED
diff --git a/src/libtracker-miner/tracker-sparql-buffer.c b/src/libtracker-miner/tracker-sparql-buffer.c
index 9cffff8..0e1a49c 100644
--- a/src/libtracker-miner/tracker-sparql-buffer.c
+++ b/src/libtracker-miner/tracker-sparql-buffer.c
@@ -25,6 +25,10 @@
#include "tracker-sparql-buffer.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
/* Maximum time (seconds) before forcing a sparql buffer flush */
#define MAX_SPARQL_BUFFER_TIME 15
diff --git a/src/miners/fs/tracker-main.c b/src/miners/fs/tracker-main.c
index 38c2027..1c9fea6 100644
--- a/src/miners/fs/tracker-main.c
+++ b/src/miners/fs/tracker-main.c
@@ -48,6 +48,10 @@
#include "tracker-miner-files-index.h"
#include "tracker-writeback.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
#define ABOUT \
"Tracker " PACKAGE_VERSION "\n"
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index f6cf87b..15a66b3 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -51,6 +51,10 @@
#include "tracker-miner-files.h"
#include "tracker-config.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
#define DISK_SPACE_CHECK_FREQUENCY 10
#define SECONDS_PER_DAY 86400
diff --git a/src/miners/fs/tracker-writeback-dispatcher.c b/src/miners/fs/tracker-writeback-dispatcher.c
index 113b38f..f7f3b4d 100644
--- a/src/miners/fs/tracker-writeback-dispatcher.c
+++ b/src/miners/fs/tracker-writeback-dispatcher.c
@@ -25,6 +25,10 @@
#include "tracker-writeback-dispatcher.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
#define TRACKER_WRITEBACK_SERVICE "org.freedesktop.Tracker1.Writeback"
#define TRACKER_WRITEBACK_PATH "/org/freedesktop/Tracker1/Writeback"
#define TRACKER_WRITEBACK_INTERFACE "org.freedesktop.Tracker1.Writeback"
diff --git a/src/miners/rss/tracker-miner-rss.c b/src/miners/rss/tracker-miner-rss.c
index 18312b2..98a1e5a 100644
--- a/src/miners/rss/tracker-miner-rss.c
+++ b/src/miners/rss/tracker-miner-rss.c
@@ -31,6 +31,10 @@
#include "tracker-miner-rss.h"
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
#define TRACKER_MINER_RSS_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TRACKER_TYPE_MINER_RSS,
TrackerMinerRSSPrivate))
typedef struct _TrackerMinerRSSPrivate TrackerMinerRSSPrivate;
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c
b/src/plugins/evolution/tracker-evolution-plugin.c
index c00c653..507cdf6 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -41,6 +41,10 @@
#include <sqlite3.h>
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
/* This is why you should seal your headers with one include for
* client sanity. This is the horendous shit we've had to put up with
* for years from the Evo shell API :(
diff --git a/tests/libtracker-miner/tracker-file-notifier-test.c
b/tests/libtracker-miner/tracker-file-notifier-test.c
index 9e48090..dd3a3f7 100644
--- a/tests/libtracker-miner/tracker-file-notifier-test.c
+++ b/tests/libtracker-miner/tracker-file-notifier-test.c
@@ -32,6 +32,10 @@
#include <libtracker-miner/tracker-miner-enums.h>
#include <libtracker-miner/tracker-file-notifier.h>
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
typedef struct {
gint op;
gchar *path;
diff --git a/tests/libtracker-miner/tracker-monitor-test.c b/tests/libtracker-miner/tracker-monitor-test.c
index a431099..3877e65 100644
--- a/tests/libtracker-miner/tracker-monitor-test.c
+++ b/tests/libtracker-miner/tracker-monitor-test.c
@@ -26,6 +26,10 @@
/* Special case, the monitor header is not normally exported */
#include <libtracker-miner/tracker-monitor.h>
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
/* -------------- COMMON FOR ALL FILE EVENT TESTS ----------------- */
#define TEST_TIMEOUT 5 /* seconds */
diff --git a/utils/mtp/mtp-dummy.c b/utils/mtp/mtp-dummy.c
index 8aaa457..9195ec1 100644
--- a/utils/mtp/mtp-dummy.c
+++ b/utils/mtp/mtp-dummy.c
@@ -25,6 +25,10 @@
#include <libtracker-sparql/tracker-sparql.h>
+#define g_source_set_name_by_id(id, name) do { \
+ g_warning("Source %i has name %s", id, name); \
+ g_source_set_name_by_id (id, name);
+} while(0);
#define COPY_TIMEOUT_MS 100
static gint copy_rate = 1024; /* 1MByte/second */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]