diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-27 14:21:48 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-28 14:16:11 +0100 |
commit | 8b43b732bc02e027da01ca715437d8ec06027524 (patch) | |
tree | bb8007049e6a56e358ff3c4f6e881b8487f15728 /gtk/dialogs/preferences.c | |
parent | 1502b08925c227152c3064b221af7a5659ac00cc (diff) | |
download | netsurf-8b43b732bc02e027da01ca715437d8ec06027524.tar.gz netsurf-8b43b732bc02e027da01ca715437d8ec06027524.tar.bz2 |
move gtk frontend to use new options API
Diffstat (limited to 'gtk/dialogs/preferences.c')
-rw-r--r-- | gtk/dialogs/preferences.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/dialogs/preferences.c b/gtk/dialogs/preferences.c index ca4ac2ef7..f17f1ccb0 100644 --- a/gtk/dialogs/preferences.c +++ b/gtk/dialogs/preferences.c @@ -999,7 +999,7 @@ G_MODULE_EXPORT void nsgtk_preferences_dialogPreferences_response(GtkDialog *dlg, gint resid) { if (resid == GTK_RESPONSE_CLOSE) { - nsoption_write(options_file_location); + nsoption_write(options_file_location, NULL, NULL); gtk_widget_hide(GTK_WIDGET(dlg)); } } @@ -1008,7 +1008,7 @@ G_MODULE_EXPORT gboolean nsgtk_preferences_dialogPreferences_deleteevent(GtkDialog *dlg, struct ppref *priv) { - nsoption_write(options_file_location); + nsoption_write(options_file_location, NULL, NULL); gtk_widget_hide(GTK_WIDGET(dlg)); /* delt with it by hiding window, no need to destory widget by @@ -1019,7 +1019,7 @@ nsgtk_preferences_dialogPreferences_deleteevent(GtkDialog *dlg, G_MODULE_EXPORT void nsgtk_preferences_dialogPreferences_destroy(GtkDialog *dlg, struct ppref *priv) { - nsoption_write(options_file_location); + nsoption_write(options_file_location, NULL, NULL); } |