[glib] GApplication: use infinite timeout for CommandLine
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GApplication: use infinite timeout for CommandLine
- Date: Thu, 28 Oct 2010 20:47:29 +0000 (UTC)
commit bf7ba2fbdc6fdbb38fe35f71dfdf74dd8fcbf414
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Oct 28 16:46:18 2010 -0400
GApplication: use infinite timeout for CommandLine
Use an infinite DBus timeout for sending a CommandLine request to the
primary instance.
This resolves a bit of bug #633339.
gio/gapplicationimpl-dbus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gapplicationimpl-dbus.c b/gio/gapplicationimpl-dbus.c
index 8a3837d..feee24f 100644
--- a/gio/gapplicationimpl-dbus.c
+++ b/gio/gapplicationimpl-dbus.c
@@ -859,7 +859,7 @@ g_application_impl_command_line (GApplicationImpl *impl,
"CommandLine",
g_variant_new ("(o^aay a{sv})", object_path,
arguments, platform_data),
- G_VARIANT_TYPE ("(i)"), 0, -1, NULL,
+ G_VARIANT_TYPE ("(i)"), 0, G_MAXINT, NULL,
g_application_impl_cmdline_done, &data);
g_main_loop_run (data.loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]