From fdde4c23ea570d3fdc25dd3a66019e4500c5982c Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 2 Jan 2021 14:03:25 +0100 Subject: 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 --- core/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'core/CMakeLists.txt') diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 9d92cc1d1..0d400931d 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -143,6 +143,7 @@ set(SUBSURFACE_CORE_LIB_SRCS planner.h plannernotes.c pref.h + pref.c profile.c profile.h qt-gui.h -- cgit v1.2.3-70-g09d2