gspawn: Rename gspawn.c to gspawn-posix.c

This is the first step towards separating the API documentation and
introspection annotations from the platform-specific implementation, so
we can guarantee that the APIs make it into `GLib-2.0.gir` regardless of
which platform the GIR is built on.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3399
This commit is contained in:
Philip Withnall 2024-07-15 16:04:51 +01:00
parent 79c57b5b80
commit b6c12c61f3
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73
3 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ if host_system == 'windows'
glib_sources += files('dirent/wdirent.c') glib_sources += files('dirent/wdirent.c')
endif endif
else else
glib_sources += files('glib-unix.c', 'gspawn.c', 'giounix.c') glib_sources += files('glib-unix.c', 'gspawn-posix.c', 'giounix.c')
platform_deps = [] platform_deps = []
endif endif

View File

@ -198,7 +198,7 @@ glib/gmarkup.c
glib/goption.c glib/goption.c
glib/gregex.c glib/gregex.c
glib/gshell.c glib/gshell.c
glib/gspawn.c glib/gspawn-posix.c
glib/gspawn-private.h glib/gspawn-private.h
glib/gspawn-win32.c glib/gspawn-win32.c
glib/gstrfuncs.c glib/gstrfuncs.c