Use functions to return directories instead of constants.
[geeqie.git] / src / remote.c
index 19ba426..38d52c2 100644 (file)
@@ -701,7 +701,7 @@ void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path
        gint started = FALSE;
        gchar *buf;
 
-       buf = g_build_filename(homedir(), GQ_RC_DIR, ".command", NULL);
+       buf = g_build_filename(get_rc_dir(), ".command", NULL);
        rc = remote_client_open(buf);
        if (!rc)
                {