[tracker] tracker-extract: Use a fully expanded name for the decorator nie:DataSource



commit cb323738b9d0ca649b221ac46163326a4bad60bf
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Feb 11 22:11:19 2014 +0100

    tracker-extract: Use a fully expanded name for the decorator nie:DataSource
    
    This is in order to avoid confusions where the TrackerDecorator gets the real
    nie:DataSource ID for comparisons in GraphUpdate, but implementations insert
    the shorthand, that doesn't end up resolving to the same nie:DataSource.

 src/tracker-extract/tracker-extract-decorator.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-decorator.c b/src/tracker-extract/tracker-extract-decorator.c
index ce3fdb0..f79e5cc 100644
--- a/src/tracker-extract/tracker-extract-decorator.c
+++ b/src/tracker-extract/tracker-extract-decorator.c
@@ -20,14 +20,14 @@
 #include "config.h"
 
 #include <libtracker-extract/tracker-extract.h>
-
+#include <libtracker-common/tracker-ontologies.h>
 #include "tracker-extract-decorator.h"
 
 enum {
        PROP_EXTRACTOR = 1
 };
 
-#define TRACKER_EXTRACT_DATA_SOURCE "tracker:extractor-data-source"
+#define TRACKER_EXTRACT_DATA_SOURCE TRACKER_TRACKER_PREFIX "extractor-data-source"
 
 #define TRACKER_EXTRACT_DECORATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), 
TRACKER_TYPE_EXTRACT_DECORATOR, TrackerExtractDecoratorPrivate))
 


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