tracker r1306 - branches/xesam-support/src/trackerd
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1306 - branches/xesam-support/src/trackerd
- Date: Thu, 24 Apr 2008 21:18:14 +0100 (BST)
Author: pvanhoof
Date: Thu Apr 24 20:18:14 2008
New Revision: 1306
URL: http://svn.gnome.org/viewvc/tracker?rev=1306&view=rev
Log:
Various fixes
Modified:
branches/xesam-support/src/trackerd/tracker-xesam-live-search.c
branches/xesam-support/src/trackerd/tracker-xesam-live-search.h
branches/xesam-support/src/trackerd/tracker-xesam-search.c
branches/xesam-support/src/trackerd/tracker-xesam-search.h
Modified: branches/xesam-support/src/trackerd/tracker-xesam-live-search.c
==============================================================================
--- branches/xesam-support/src/trackerd/tracker-xesam-live-search.c (original)
+++ branches/xesam-support/src/trackerd/tracker-xesam-live-search.c Thu Apr 24 20:18:14 2008
@@ -212,7 +212,7 @@
* @tracker_xesam_live_search_activate yet.
**/
void
-tracker_xesam_live_search_get_hits (TrackerXesamLiveSearch *self, guint count, gpointer *hits, GError **error)
+tracker_xesam_live_search_get_hits (TrackerXesamLiveSearch *self, guint count, GPtrArray *hits, GError **error)
{
TrackerXesamLiveSearchPriv *priv = self->priv;
@@ -223,7 +223,7 @@
TRACKER_XESAM_ERROR_SEARCH_NOT_ACTIVE,
"Search is not active yet");
- *hits = NULL;
+
}
/**
Modified: branches/xesam-support/src/trackerd/tracker-xesam-live-search.h
==============================================================================
--- branches/xesam-support/src/trackerd/tracker-xesam-live-search.h (original)
+++ branches/xesam-support/src/trackerd/tracker-xesam-live-search.h Thu Apr 24 20:18:14 2008
@@ -56,7 +56,7 @@
void tracker_xesam_live_search_activate (TrackerXesamLiveSearch *self, GError **error);
gboolean tracker_xesam_live_search_is_active (TrackerXesamLiveSearch *self);
void tracker_xesam_live_search_get_hit_data (TrackerXesamLiveSearch *self, GArray *hit_ids, GStrv fields, GPtrArray **hit_data, GError **error);
-void tracker_xesam_live_search_get_hits (TrackerXesamLiveSearch *self, guint count, gpointer *hits, GError **error);
+void tracker_xesam_live_search_get_hits (TrackerXesamLiveSearch *self, guint count, GPtrArray *hits, GError **error);
void tracker_xesam_live_search_get_hit_count (TrackerXesamLiveSearch *self, guint *count, GError **error);
void tracker_xesam_live_search_close (TrackerXesamLiveSearch *self, GError **error);
Modified: branches/xesam-support/src/trackerd/tracker-xesam-search.c
==============================================================================
--- branches/xesam-support/src/trackerd/tracker-xesam-search.c (original)
+++ branches/xesam-support/src/trackerd/tracker-xesam-search.c Thu Apr 24 20:18:14 2008
@@ -305,7 +305,7 @@
tracker_xesam_search_get_hits (TrackerXesamSearch *object,
const gchar *search_id,
guint count,
- gpointer *hits, /* not sure */
+ GPtrArray *hits, /* not sure */
GError **error)
{
guint request_id = tracker_dbus_get_next_request_id ();
Modified: branches/xesam-support/src/trackerd/tracker-xesam-search.h
==============================================================================
--- branches/xesam-support/src/trackerd/tracker-xesam-search.h (original)
+++ branches/xesam-support/src/trackerd/tracker-xesam-search.h Thu Apr 24 20:18:14 2008
@@ -105,7 +105,7 @@
gboolean tracker_xesam_search_get_hits (TrackerXesamSearch *object,
const gchar *search_id,
guint count,
- gpointer *hits, /* not sure */
+ GPtrArray *hits, /* not sure */
GError **error);
gboolean tracker_xesam_search_get_hit_data (TrackerXesamSearch *object,
const gchar *search_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]