tracker r1302 - branches/xesam-support/src/trackerd
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1302 - branches/xesam-support/src/trackerd
- Date: Thu, 24 Apr 2008 12:50:55 +0100 (BST)
Author: pvanhoof
Date: Thu Apr 24 11:50:55 2008
New Revision: 1302
URL: http://svn.gnome.org/viewvc/tracker?rev=1302&view=rev
Log:
Added some documentation and fixed some API
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
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 11:50:55 2008
@@ -251,9 +251,11 @@
* @self: a #TrackerXesamLiveSearch
*
* Activates @self
+ *
+ * An error will be thrown if @self is closed.
**/
void
-tracker_xesam_live_search_activate (TrackerXesamLiveSearch *self)
+tracker_xesam_live_search_activate (TrackerXesamLiveSearch *self, GError **error)
{
TrackerXesamLiveSearchPriv *priv = self->priv;
// todo
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 11:50:55 2008
@@ -53,7 +53,7 @@
void tracker_xesam_live_search_set_id (TrackerXesamLiveSearch *self, const gchar *search_id);
const gchar* tracker_xesam_live_search_get_id (TrackerXesamLiveSearch *self);
const gchar* tracker_xesam_live_search_get_query (TrackerXesamLiveSearch *self);
-void tracker_xesam_live_search_activate (TrackerXesamLiveSearch *self);
+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, guint *hit_ids, const gchar **fields, gpointer **hit_data, GError **error);
void tracker_xesam_live_search_get_hits (TrackerXesamLiveSearch *self, guint num, gpointer **hits, 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 11:50:55 2008
@@ -273,7 +273,7 @@
TrackerXesamLiveSearch *search = tracker_xesam_get_live_search (search_id, error);
if (search) {
- tracker_xesam_live_search_activate (search);
+ tracker_xesam_live_search_activate (search, error);
g_object_unref (search);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]