mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 15:56:21 +00:00
use gio functions for file copy
This commit is contained in:
committed by
Dmitry Podgorny
parent
2795dc487c
commit
e4ddced420
@@ -184,13 +184,12 @@ plugins_install(const char *const plugin_name, const char *const filename, GStri
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean result = copy_file(filename, target_path->str);
|
||||
gboolean result = copy_file(filename, target_path->str, false);
|
||||
g_string_free(target_path, TRUE);
|
||||
|
||||
if (result) {
|
||||
result = plugins_load(plugin_name);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user