[gnome-color-manager] trivial: set the default DBus proxy timeout to be never
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: set the default DBus proxy timeout to be never
- Date: Mon, 22 Feb 2010 09:58:13 +0000 (UTC)
commit 0a900e394c856b543da08b121f53d560873c34ca
Author: Richard Hughes <richard hughsie com>
Date: Mon Feb 22 09:48:10 2010 +0000
trivial: set the default DBus proxy timeout to be never
src/gcm-utils.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-utils.c b/src/gcm-utils.c
index 03cd6c0..661303d 100644
--- a/src/gcm-utils.c
+++ b/src/gcm-utils.c
@@ -160,6 +160,9 @@ gcm_utils_install_package (const gchar *package_name, GtkWindow *window)
"/org/freedesktop/PackageKit",
"org.freedesktop.PackageKit.Modify");
+ /* set timeout */
+ dbus_g_proxy_set_default_timeout (proxy, G_MAXINT);
+
/* execute sync method */
ret = dbus_g_proxy_call (proxy, "InstallPackageNames", &error,
G_TYPE_UINT, xid,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]