mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: move pref related structs and functions to pref.c
These were declared in pref.h and defined in subsurfacestartup.c. pref.c didn't even exist. Create it and move preferences-related structs and functions there. setup_system_prefs() is left in subsurfacestartup.c, since it works with environment variables. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
91ffa5a59a
commit
fdde4c23ea
4 changed files with 134 additions and 127 deletions
|
|
@ -143,6 +143,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
|
|||
planner.h
|
||||
plannernotes.c
|
||||
pref.h
|
||||
pref.c
|
||||
profile.c
|
||||
profile.h
|
||||
qt-gui.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue