[tracker/api-cleanup: 3/12] libtracker-miner: hide media-art header



commit d0947cf2fb03f83570df82d817a96e4b6f42f5d0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jan 25 23:43:32 2014 +0100

    libtracker-miner: hide media-art header
    
    These calls to manipulate the media art queue are already
    performed inside TrackerMinerFS, and there are no foreseeable
    situations where a TrackerMinerFS implementation will need
    to call these directly, so just move the code and header
    to private land.

 .../libtracker-miner/libtracker-miner-docs.sgml    |    1 -
 .../libtracker-miner/libtracker-miner-sections.txt |    6 ------
 src/libtracker-miner/Makefile.am                   |    7 +++----
 src/libtracker-miner/tracker-miner.h               |    1 -
 4 files changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/docs/reference/libtracker-miner/libtracker-miner-docs.sgml 
b/docs/reference/libtracker-miner/libtracker-miner-docs.sgml
index 0330411..c8088e9 100644
--- a/docs/reference/libtracker-miner/libtracker-miner-docs.sgml
+++ b/docs/reference/libtracker-miner/libtracker-miner-docs.sgml
@@ -57,7 +57,6 @@
       <title>Utilities</title>
          <xi:include href="xml/tracker-miner-enums.xml"/>
       <xi:include href="xml/tracker-storage.xml"/>
-      <xi:include href="xml/tracker-media-art.xml"/>
     </chapter>
   </part>
 
diff --git a/docs/reference/libtracker-miner/libtracker-miner-sections.txt 
b/docs/reference/libtracker-miner/libtracker-miner-sections.txt
index 3428a00..44f47f9 100644
--- a/docs/reference/libtracker-miner/libtracker-miner-sections.txt
+++ b/docs/reference/libtracker-miner/libtracker-miner-sections.txt
@@ -29,12 +29,6 @@ tracker_indexing_tree_get_type
 </SECTION>
 
 <SECTION>
-<FILE>tracker-media-art</FILE>
-tracker_media_art_queue_empty
-tracker_media_art_queue_remove
-</SECTION>
-
-<SECTION>
 <FILE>tracker-miner</FILE>
 
 </SECTION>
diff --git a/src/libtracker-miner/Makefile.am b/src/libtracker-miner/Makefile.am
index e91a2fe..9307510 100644
--- a/src/libtracker-miner/Makefile.am
+++ b/src/libtracker-miner/Makefile.am
@@ -43,6 +43,8 @@ private_sources =                                    \
        tracker-file-notifier.c                        \
        tracker-file-system.h                          \
        tracker-file-system.c                          \
+       tracker-media-art.c                            \
+       tracker-media-art.h                            \
        tracker-priority-queue.h                       \
        tracker-priority-queue.c                       \
        tracker-task-pool.h                            \
@@ -86,16 +88,13 @@ libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES =    \
        tracker-indexing-tree.c                        \
        tracker-indexing-tree.h                        \
        tracker-network-provider.c                     \
-       tracker-password-provider.c                    \
-       tracker-media-art.c                            \
-       tracker-media-art.h
+       tracker-password-provider.c
 
 libtracker_minerinclude_HEADERS =                      \
        tracker-crawler.h                              \
        tracker-decorator.h                            \
        tracker-decorator-fs.h                         \
        tracker-indexing-tree.h                        \
-       tracker-media-art.h                            \
        tracker-miner.h                                \
        tracker-miner-common.h                         \
        tracker-miner-enums.h                          \
diff --git a/src/libtracker-miner/tracker-miner.h b/src/libtracker-miner/tracker-miner.h
index ab4ea10..d237529 100644
--- a/src/libtracker-miner/tracker-miner.h
+++ b/src/libtracker-miner/tracker-miner.h
@@ -26,7 +26,6 @@
 #include <libtracker-miner/tracker-decorator.h>
 #include <libtracker-miner/tracker-decorator-fs.h>
 #include <libtracker-miner/tracker-storage.h>
-#include <libtracker-miner/tracker-media-art.h>
 #include <libtracker-miner/tracker-network-provider.h>
 #include <libtracker-miner/tracker-password-provider.h>
 #include <libtracker-miner/tracker-miner-object.h>


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