aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-migrate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index 6ed7bccc08..dd5ad07b24 100644
--- a/shell/e-shell-migrate.c
+++ b/shell/e-shell-migrate.c
@@ -199,7 +199,7 @@ change_dir_modes (const gchar *path)
{
GDir *dir;
GError *err = NULL;
- const char *file = NULL;
+ const gchar *file = NULL;
dir = g_dir_open (path, 0, &err);
if (err) {
@@ -217,18 +217,18 @@ change_dir_modes (const gchar *path)
g_free (full_path);
}
- g_chmod (path, 0700);
+ g_chmod (path, 0700);
g_dir_close (dir);
}
static void
-fix_folder_permissions (const char *data_dir)
+fix_folder_permissions (const gchar *data_dir)
{
struct stat sb;
if (g_stat (data_dir, &sb) == -1) {
g_warning ("error stat: %s \n", data_dir);
- return;
+ return;
}
if (((guint32) sb.st_mode & 0777) != 0700)