From b6c12c61f3e9ceb2be56cd4e5de578aa603e593d Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 15 Jul 2024 16:04:51 +0100 Subject: [PATCH] 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 Helps: #3399 --- glib/{gspawn.c => gspawn-posix.c} | 0 glib/meson.build | 2 +- po/POTFILES.in | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename glib/{gspawn.c => gspawn-posix.c} (100%) diff --git a/glib/gspawn.c b/glib/gspawn-posix.c similarity index 100% rename from glib/gspawn.c rename to glib/gspawn-posix.c diff --git a/glib/meson.build b/glib/meson.build index b5545b63b..dc0622f55 100644 --- a/glib/meson.build +++ b/glib/meson.build @@ -371,7 +371,7 @@ if host_system == 'windows' glib_sources += files('dirent/wdirent.c') endif else - glib_sources += files('glib-unix.c', 'gspawn.c', 'giounix.c') + glib_sources += files('glib-unix.c', 'gspawn-posix.c', 'giounix.c') platform_deps = [] endif diff --git a/po/POTFILES.in b/po/POTFILES.in index 0712c0ac2..8be46bf29 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -198,7 +198,7 @@ glib/gmarkup.c glib/goption.c glib/gregex.c glib/gshell.c -glib/gspawn.c +glib/gspawn-posix.c glib/gspawn-private.h glib/gspawn-win32.c glib/gstrfuncs.c