From 24aa2f1489bcdbd2eb7bae750aed324a98809128 Mon Sep 17 00:00:00 2001
From: Benedikt Meurer <benny@xfce.org>
Date: Wed, 13 Sep 2006 17:11:25 +0000
Subject: [PATCH] 2006-09-13	Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-dbus-client.c: Use default dbus connection timeout.
	  Bug #2243.




(Old svn revision: 23143)
---
 ChangeLog                   | 5 +++++
 thunar/thunar-dbus-client.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index be9d5d45b..2f2342030 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-13	Benedikt Meurer <benny@xfce.org>
+
+	* thunar/thunar-dbus-client.c: Use default dbus connection timeout.
+	  Bug #2243.
+
 2006-09-12	Benedikt Meurer <benny@xfce.org>
 
 	* thunar/thunar-renamer-model.c(thunar_renamer_model_iter_n_children):
diff --git a/thunar/thunar-dbus-client.c b/thunar/thunar-dbus-client.c
index 82d6afc63..fa9ce521d 100644
--- a/thunar/thunar-dbus-client.c
+++ b/thunar/thunar-dbus-client.c
@@ -99,7 +99,7 @@ thunar_dbus_client_bulk_rename (const gchar *working_directory,
   g_free (display_name);
 
   /* send the message and release our references on connection and message */
-  result = dbus_connection_send_with_reply_and_block (connection, message, 2000, &derror);
+  result = dbus_connection_send_with_reply_and_block (connection, message, -1, &derror);
   dbus_message_unref (message);
 
   /* check if no reply was received */
@@ -194,7 +194,7 @@ thunar_dbus_client_launch_files (const gchar *working_directory,
   g_free (display_name);
 
   /* send the message and release our references on connection and message */
-  result = dbus_connection_send_with_reply_and_block (connection, message, 2000, &derror);
+  result = dbus_connection_send_with_reply_and_block (connection, message, -1, &derror);
   dbus_message_unref (message);
 
   /* check if no reply was received */
@@ -259,7 +259,7 @@ thunar_dbus_client_terminate (GError **error)
   dbus_message_set_auto_start (message, FALSE);
 
   /* send the message and release our references on connection and message */
-  result = dbus_connection_send_with_reply_and_block (connection, message, 2000, &derror);
+  result = dbus_connection_send_with_reply_and_block (connection, message, -1, &derror);
   dbus_message_unref (message);
 
   /* check if no reply was received */
-- 
GitLab