summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.h
diff options
context:
space:
mode:
authorGravatar Patrick Valsecchi <patrick@thus.ch>2013-11-20 13:40:14 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-21 08:11:40 -0800
commit4c4a7a6d968fa27de72f1510c55d327a7e919d7c (patch)
tree8efda997313870e3b433a8a49b94a47af830fc54 /subsurfacestartup.h
parente0b376622c505ee631b87b54aefa0130bbfa1237 (diff)
downloadsubsurface-4c4a7a6d968fa27de72f1510c55d327a7e919d7c.tar.gz
Refactoring of the configuration handling.
Before, when clicking the OK button on the preferences GUI, we were updating in-memory preferences from the GUI, saving them to the configuration file from the GUI, reloading from the file to the in-memory preferences. Then, to add to the ducplication, when the application was exiting, some fields were saved again. Basically the first step and the last step were useless appart from the fact the the other steps where missing a few fields here and there. This patch removes the first step and fixes the missing fields. Signed-off-by: Patrick Valsecchi <patrick@thus.ch> ACKed-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.h')
-rw-r--r--subsurfacestartup.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/subsurfacestartup.h b/subsurfacestartup.h
index c979dc71e..e5d7750f7 100644
--- a/subsurfacestartup.h
+++ b/subsurfacestartup.h
@@ -10,8 +10,6 @@
extern "C" {
#endif
-extern struct preferences prefs;
-extern struct preferences default_prefs;
extern bool imported;
void setup_system_prefs(void);