mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 02:56:21 +00:00
Introduce a shared implementation for keyfile loading
Instead of copy&pasting the same code over again, use a common implementation. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -161,8 +161,7 @@ gchar*
|
||||
files_get_data_path(const char* const location)
|
||||
{
|
||||
auto_gchar gchar* xdg_data = _files_get_xdg_data_home();
|
||||
gchar* result = g_strdup_printf("%s/profanity/%s", xdg_data, location);
|
||||
return result;
|
||||
return g_strdup_printf("%s/profanity/%s", xdg_data, location);
|
||||
}
|
||||
|
||||
gchar*
|
||||
|
||||
Reference in New Issue
Block a user