mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-14 04:18:32 +01:00
While it’s not usual, it is possible for applications to be called with an empty `argv` by a process (ab)using `execve()`. Modify the `GApplication` code example to handle that possibility, so that anyone copying the example isn’t introducing a bug into their program immediately. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
26 KiB
26 KiB