tracker r2438 - in trunk: . src/trackerd



Author: ifrade
Date: Mon Nov  3 16:55:54 2008
New Revision: 2438
URL: http://svn.gnome.org/viewvc/tracker?rev=2438&view=rev

Log:
Fixed how we set the error in GError

Modified:
   trunk/ChangeLog
   trunk/src/trackerd/tracker-search.c

Modified: trunk/src/trackerd/tracker-search.c
==============================================================================
--- trunk/src/trackerd/tracker-search.c	(original)
+++ trunk/src/trackerd/tracker-search.c	Mon Nov  3 16:55:54 2008
@@ -1089,7 +1089,6 @@
 	if (!tracker_ontology_service_is_valid (service)) {
 		tracker_dbus_request_failed (request_id,
 					     &actual_error,
-					     0,
 					     "Service '%s' is invalid or has not been implemented yet",
 					     service);
 		dbus_g_method_return_error (context, actual_error);
@@ -1137,7 +1136,6 @@
 		} else if (!query_translated) {
 			tracker_dbus_request_failed (request_id,
 						     &actual_error,
-						     0,
 						     "Invalid rdf query, no error given");
 			dbus_g_method_return_error (context, actual_error);
 			g_error_free (actual_error);



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