aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 79bd7d4..4f684a2 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -164,10 +164,10 @@ static void mount_cb(GObject *obj, GAsyncResult *res, gpointer user_data)
if (ret) {
cam->rdir_ok = TRUE;
- gconf_client_set_string(cam->gc, GCONF_HOSTNAME, cam->host, NULL);
- gconf_client_set_string(cam->gc, GCONF_REMOTE_PROTO, cam->proto, NULL);
- gconf_client_set_string(cam->gc, GCONF_REMOTE_SAVE_DIR, cam->rdir, NULL);
- gconf_client_set_string(cam->gc, GCONF_REMOTE_SAVE_FILE, cam->rcapturefile, NULL);
+ g_settings_set_string(cam->gc, CAM_SETTINGS_HOSTNAME, cam->host);
+ g_settings_set_string(cam->gc, CAM_SETTINGS_REMOTE_PROTO, cam->proto);
+ g_settings_set_string(cam->gc, CAM_SETTINGS_REMOTE_SAVE_DIR, cam->rdir);
+ g_settings_set_string(cam->gc, CAM_SETTINGS_REMOTE_SAVE_FILE, cam->rcapturefile);
} else {
gchar *error_message = g_strdup_printf(_("An error occurred mounting %s:%s."),
cam->uri, err->message);

Privacy Policy