mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 22:16:21 +00:00
Moved create_config_dir function to profanity.c
This commit is contained in:
@@ -36,15 +36,6 @@ p_slist_free_full(GSList *items, GDestroyNotify free_func)
|
||||
g_slist_free (items);
|
||||
}
|
||||
|
||||
void
|
||||
create_config_directory()
|
||||
{
|
||||
GString *dir = g_string_new(getenv("HOME"));
|
||||
g_string_append(dir, "/.profanity");
|
||||
create_dir(dir->str);
|
||||
g_string_free(dir, TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
create_dir(char *name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user