mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
gsubprocess: Add missing G_GNUC_NULL_TERMINATED attribute
g_subprocess_launcher_spawn() is NULL-terminated, and must have a non-NULL argv0 specified, so G_GNUC_NULL_TERMINATED is appropriate here. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=780032
This commit is contained in:
parent
ff327ba2d7
commit
e1f362ba49
@ -45,7 +45,7 @@ GLIB_AVAILABLE_IN_2_40
|
||||
GSubprocess * g_subprocess_launcher_spawn (GSubprocessLauncher *self,
|
||||
GError **error,
|
||||
const gchar *argv0,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
GLIB_AVAILABLE_IN_2_40
|
||||
GSubprocess * g_subprocess_launcher_spawnv (GSubprocessLauncher *self,
|
||||
|
Loading…
Reference in New Issue
Block a user