aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-08-27 21:00:45 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-08-27 21:53:41 +0800
commit02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04 (patch)
tree59156168a3c6104c5d77d70f5f8f5091843b11dd /libempathy
parent4cdf0b0dd73333716166579699030b227bb57ace (diff)
downloadgsoc2013-empathy-02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04.tar
gsoc2013-empathy-02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04.tar.gz
gsoc2013-empathy-02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04.tar.bz2
gsoc2013-empathy-02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04.tar.lz
gsoc2013-empathy-02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04.tar.xz
gsoc2013-empathy-02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04.tar.zst
gsoc2013-empathy-02b2080bc1e3d75f5b88bfe22ce353bfe26f9a04.zip
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
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-pkg-kit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-pkg-kit.c b/libempathy/empathy-pkg-kit.c
index 259cd7f7d..1d01b931d 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);
}