Re: Problems with GApplicationCommanLine printing to wrong instance

2016-05-28 Thread Christian Stadelmann
Am Samstag, den 28.05.2016, 18:11 +0200 schrieb Neil Muller: > But you're not calling do_printerr_literal on the remote cmdline - > you're calling the class method on Gio.ApplicationCommandLine. That's > quite different. > > You want to be calling > > new_cli.do_print_literal > > instead. > Th

Re: Problems with GApplicationCommanLine printing to wrong instance

2016-05-28 Thread Neil Muller
On 28 May 2016 at 17:58, Christian Stadelmann wrote: > Thanks for the reply! > > Am Samstag, den 28.05.2016, 16:40 +0200 schrieb Neil Muller: >> On 27 May 2016 at 23:48, Christian Stadelmann >> wrote: >> > Hi >> > >> > I have a trivial application (see below). I expect it to print >> > "Foo" on >

Re: Problems with GApplicationCommanLine printing to wrong instance

2016-05-28 Thread Christian Stadelmann
Thanks for the reply! Am Samstag, den 28.05.2016, 16:40 +0200 schrieb Neil Muller: > On 27 May 2016 at 23:48, Christian Stadelmann > wrote: > > Hi > > > > I have a trivial application (see below). I expect it to print > > "Foo" on > > the first instance it is running and "Second" on each success

Re: Problems with GApplicationCommanLine printing to wrong instance

2016-05-28 Thread Neil Muller
On 27 May 2016 at 23:48, Christian Stadelmann wrote: > Hi > > I have a trivial application (see below). I expect it to print "Foo" on > the first instance it is running and "Second" on each successive > instance. > > Instead, only the first instance is printing stuff and the second > doesn't do an

Problems with GApplicationCommanLine printing to wrong instance

2016-05-27 Thread Christian Stadelmann
Hi I have a trivial application (see below). I expect it to print "Foo" on the first instance it is running and "Second" on each successive instance. Instead, only the first instance is printing stuff and the second doesn't do anything before it exits. Am I doing something wrong? Or did I run in