mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-17 22:02:16 +01:00
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:
@@ -208,9 +208,9 @@ G_DEFINE_BOXED_TYPE (GResource, g_resource, g_resource_ref, g_resource_unref)
|
||||
* supported.
|
||||
*
|
||||
* 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
|
||||
* this is not strictly required. It is possible to overlay the location of a
|
||||
* single resource with an individual file.
|
||||
* before the `=`. The filesystem path after the `=` should ideally be absolute,
|
||||
* but this is not strictly required. It is possible to overlay the location of
|
||||
* a single resource with an individual file.
|
||||
*
|
||||
* Since: 2.32
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user