Fix another faulty GApplicationCommandline example
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Apr 2011 21:02:01 +0000 (17:02 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Apr 2011 21:02:01 +0000 (17:02 -0400)
commit1a0424b7ff4550ae90ff730bb98d40bface512f3
treecb0840058ba8a366297471c18c5d3e032404cedc
parent0729260141bb585943ad1c6efa8ab7ee9058b0aa
Fix another faulty GApplicationCommandline example

Several flaws were pointed out by Shaun McCance. We were
leaking handled arguments, and we were mishandling the last
argument, and we were actually skipping arguments too.

https://bugzilla.gnome.org/show_bug.cgi?id=647031
gio/tests/gapplication-example-cmdline2.c