From 02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 27 Aug 2012 15:00:45 +0200 Subject: [PATCH] pkg-kit: use an 'infinite' timeout when calling InstallPackageNames This method can takes quiet a while before returning (if user has to enter his admin password for example). https://bugzilla.gnome.org/show_bug.cgi?id=682802 --- libempathy/empathy-pkg-kit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy/empathy-pkg-kit.c b/libempathy/empathy-pkg-kit.c index 259cd7f7..1d01b931 100644 --- a/libempathy/empathy-pkg-kit.c +++ b/libempathy/empathy-pkg-kit.c @@ -112,7 +112,7 @@ pkg_kit_proxy_new_cb (GObject *source, g_dbus_proxy_call (proxy, "InstallPackageNames", g_variant_new ("(u^a&ss)", ctx->xid, ctx->packages, ctx->options), - G_DBUS_CALL_FLAGS_NONE, -1, NULL, install_package_names_cb, ctx); + G_DBUS_CALL_FLAGS_NONE, G_MAXINT, NULL, install_package_names_cb, ctx); g_object_unref (proxy); } -- 2.39.2