mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02: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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user