about summary refs log tree commit diff stats
path: root/src/plugins
diff options
context:
space:
mode:
authorPhilip Flohr <philip.flohr@student.kit.edu>2018-05-07 19:41:47 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2018-09-06 19:28:02 +0300
commite4ddced4203235c8393369ba3f0a62de1f5e980e (patch)
treeb1f5f858206cbbcc0f8c408a621edb8cbf5fb78e /src/plugins
parent2795dc487cdcd9a4adf55799b36516bfd7725710 (diff)
downloadprofani-tty-e4ddced4203235c8393369ba3f0a62de1f5e980e.tar.gz
use gio functions for file copy
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugins.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index 889bb91b..8c1bc2cf 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -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;
 }