docs(GResource): Tweak overlays description

The documentation about G_RESOURCE_OVERLAYS said
that the "path after the slash" must ideally be absolute, but
a path after a slash is always absolute. The intent seems to
have been that "the path after the `=`" (IOW the filesystem
path being used as a substitution) should be, but is not
required to be, absolute.
This commit is contained in:
FeRD (Frank Dana)
2025-12-06 01:20:30 -05:00
parent 60d90f13dd
commit d06cbc95c6

View File

@@ -208,9 +208,9 @@ G_DEFINE_BOXED_TYPE (GResource, g_resource, g_resource_ref, g_resource_unref)
* supported. * supported.
* *
* Substitutions must start with a slash, and must not contain a trailing slash * Substitutions must start with a slash, and must not contain a trailing slash
* before the `=`. The path after the slash should ideally be absolute, but * before the `=`. The filesystem path after the `=` should ideally be absolute,
* this is not strictly required. It is possible to overlay the location of a * but this is not strictly required. It is possible to overlay the location of
* single resource with an individual file. * a single resource with an individual file.
* *
* Since: 2.32 * Since: 2.32
*/ */