Quantcast
Channel: feedbackd:587cbf31889f1e26d818e36915cfe0577dc0272f commits
Viewing all articles
Browse latest Browse all 40

fbd-feedback-manager: Make sure theme path components are '/' separated

$
0
0
Previously, assembly of the theme paths for custom paths (based on `XDG_DATA_DIRS`) was performed using `g_strconcat`, which produced erroneous file paths with missing path separators due to a typo in the code. Instead, make use of `g_build_filename` to assemble the theme paths from `XDG_DATA_DIRS` to look for custom themes, which automatically introduces host-specific path separators between individual path components. This introduces another temporary variable to ensure that the filename (which is itself assembled from a name and the file ending) isn't mangled by introduction of a path separator between these two "parts".

Viewing all articles
Browse latest Browse all 40

Trending Articles