[tracker/rss-enclosures] libtracker-bus: Disable dbus timeouts in updates to the store



commit 6c8cc595974762be4de5472baeb8a3c558a77319
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Mon Oct 25 13:45:45 2010 +0200

    libtracker-bus: Disable dbus timeouts in updates to the store

 src/libtracker-bus/tracker-bus-fd-update.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-update.c b/src/libtracker-bus/tracker-bus-fd-update.c
index 6de18a4..9122c65 100644
--- a/src/libtracker-bus/tracker-bus-fd-update.c
+++ b/src/libtracker-bus/tracker-bus-fd-update.c
@@ -331,7 +331,7 @@ sparql_update_fast_send (DBusConnection     *connection,
 	                                        dbus_method);
 	dbus_message_iter_init_append (message, &iter);
 	dbus_message_iter_append_basic (&iter, DBUS_TYPE_UNIX_FD, &pipefd[0]);
-	dbus_connection_send_with_reply (connection, message, &call, -1);
+	dbus_connection_send_with_reply (connection, message, &call, G_MAXINT);
 	dbus_message_unref (message);
 	close (pipefd[0]);
 
@@ -426,7 +426,7 @@ sparql_update_fast_send (DBusConnection     *connection,
 						 dbus_method);
 	 dbus_message_iter_init_append (message, &iter);
 	 dbus_message_iter_append_basic (&iter, DBUS_TYPE_UNIX_FD, &pipefd[0]);
-	 dbus_connection_send_with_reply (connection, message, &call, -1);
+	 dbus_connection_send_with_reply (connection, message, &call, G_MAXINT);
 	 dbus_message_unref (message);
 	 close (pipefd[0]);
 



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