Looks for a resource of the specified type whose relative path matches filename.
filename can either reference a regular file, in which case it must not end with a slash character ('/'), or a directory,
when filename contains a trailing slash character ('/').
The caller is responsible to free the returned string using g_free when no longer needed.
| type |
type of resource to lookup. |
| filename |
relative filename of the resource, e.g. "xfwm4/xfwmrc". |
|
the absolute path to the first file or directory in the search path, that matches |