diff options
author | Ted Gould <ted@gould.cx> | 2010-08-27 15:20:48 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-27 15:20:48 -0500 |
commit | 72f52f7f170e28a87ed58436d438aa1bea2ecf11 (patch) | |
tree | a4c90a04589ce73cfaeb1a511abd692c6a67c9be /libdbusmenu-glib | |
parent | c0674ee7a6f7a2bf83f19e3c897cdda918c52d6f (diff) | |
download | libdbusmenu-72f52f7f170e28a87ed58436d438aa1bea2ecf11.tar.gz libdbusmenu-72f52f7f170e28a87ed58436d438aa1bea2ecf11.tar.bz2 libdbusmenu-72f52f7f170e28a87ed58436d438aa1bea2ecf11.zip |
Setting default timeout to 2 seconds. We need to be responsive.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 43bde5f..7051e96 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -876,6 +876,7 @@ build_proxies (DbusmenuClient * client) } g_object_add_weak_pointer(G_OBJECT(priv->menuproxy), (gpointer *)&priv->menuproxy); g_signal_connect(G_OBJECT(priv->menuproxy), "destroy", G_CALLBACK(proxy_destroyed), client); + dbus_g_proxy_set_default_timeout(priv->menuproxy, 2000); /* If we get here, we don't need the DBus proxy */ if (priv->dbusproxy != NULL) { |