tracker r1564 - in branches/indexer-split: . src/trackerd
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1564 - in branches/indexer-split: . src/trackerd
- Date: Mon, 2 Jun 2008 18:56:18 +0000 (UTC)
Author: pvanhoof
Date: Mon Jun 2 18:56:18 2008
New Revision: 1564
URL: http://svn.gnome.org/viewvc/tracker?rev=1564&view=rev
Log:
2008-06-02 Philip Van Hoof <pvanhoof gnome org>
* src/trackerd/tracker-db-sqlite.c:
* src/trackerd/tracker-xesam-manager.c:
* src/trackerd/tracker-xesam-manager.h:
Waking up the LiveSearches for not-yet refactored methods that also
(still) insert, delete and update the database
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/trackerd/tracker-db-sqlite.c
branches/indexer-split/src/trackerd/tracker-xesam-manager.c
branches/indexer-split/src/trackerd/tracker-xesam-manager.h
Modified: branches/indexer-split/src/trackerd/tracker-db-sqlite.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-db-sqlite.c (original)
+++ branches/indexer-split/src/trackerd/tracker-db-sqlite.c Mon Jun 2 18:56:18 2008
@@ -46,6 +46,7 @@
#include "tracker-watcher.h"
#include "tracker-query-tree.h"
#include "tracker-xesam-ontology.h"
+#include "tracker-xesam-manager.h"
#define MAX_INDEX_TEXT_LENGTH 1048576
#define MAX_TEXT_BUFFER 65567
@@ -3510,6 +3511,8 @@
g_free (eid);
+ tracker_xesam_manager_wakeup (NULL);
+
return id;
}
Modified: branches/indexer-split/src/trackerd/tracker-xesam-manager.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-xesam-manager.c (original)
+++ branches/indexer-split/src/trackerd/tracker-xesam-manager.c Mon Jun 2 18:56:18 2008
@@ -34,8 +34,6 @@
static gchar *xesam_dir;
static gboolean live_search_handler_running = FALSE;
-static void tracker_xesam_manager_wakeup (gpointer user_data);
-
GQuark
tracker_xesam_manager_error_quark (void)
{
@@ -336,7 +334,7 @@
live_search_handler_running = FALSE;
}
-static void
+void
tracker_xesam_manager_wakeup (gpointer user_data)
{
/* This happens each time a new event is created */
Modified: branches/indexer-split/src/trackerd/tracker-xesam-manager.h
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-xesam-manager.h (original)
+++ branches/indexer-split/src/trackerd/tracker-xesam-manager.h Mon Jun 2 18:56:18 2008
@@ -64,6 +64,7 @@
gchar * tracker_xesam_manager_generate_unique_key (void);
gboolean tracker_xesam_manager_is_uri_in_xesam_dir (const gchar *uri);
void tracker_xesam_subscribe_indexer_updated (DBusGProxy *proxy);
+void tracker_xesam_manager_wakeup (gpointer user_data);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]