[Xfce4-commits] <thunar:master> Make sure the dbus error is unset (bug #8046).
Nick Schermer
noreply at xfce.org
Sun Sep 30 16:32:01 CEST 2012
Updating branch refs/heads/master
to 56d983d9387e3ea00feaaa3060a62383ccdf4ef9 (commit)
from e121ed80d9bfba8b133ca1943f76ad48bcab9b76 (commit)
commit 56d983d9387e3ea00feaaa3060a62383ccdf4ef9
Author: Nick Schermer <nick at xfce.org>
Date: Sun Sep 30 16:31:00 2012 +0200
Make sure the dbus error is unset (bug #8046).
Shouldn't be needed, but better be sure.
thunar/thunar-dbus-client.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/thunar/thunar-dbus-client.c b/thunar/thunar-dbus-client.c
index 687eeb5..3d5a8a7 100644
--- a/thunar/thunar-dbus-client.c
+++ b/thunar/thunar-dbus-client.c
@@ -107,6 +107,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 */
+ dbus_error_init (&derror);
result = dbus_connection_send_with_reply_and_block (connection, message, -1, &derror);
dbus_message_unref (message);
@@ -210,6 +211,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 */
+ dbus_error_init (&derror);
result = dbus_connection_send_with_reply_and_block (connection, message, -1, &derror);
dbus_message_unref (message);
@@ -275,6 +277,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 */
+ dbus_error_init (&derror);
result = dbus_connection_send_with_reply_and_block (connection, message, -1, &derror);
dbus_message_unref (message);
More information about the Xfce4-commits
mailing list