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.
This commit is contained in:
Ryan Lortie 2010-10-28 16:46:18 -04:00
parent fac2a8278e
commit bf7ba2fbdc

View File

@ -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);