diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-21 18:41:51 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-21 18:41:57 +0200 |
| commit | bbf0ea664dbc9d0b6faa29e3b9752fec6a094bba (patch) | |
| tree | 4f7fa2f2f80ac75416e920420b313dbdc9e6841c /fluid/Fd_Snap_Action.cxx | |
| parent | 0c35212467f3b0d1aa632a1febb06c09f4b170f1 (diff) | |
Removes dependency on Fl_Preferences::get/set(.., Fl_String, ...)
Diffstat (limited to 'fluid/Fd_Snap_Action.cxx')
| -rw-r--r-- | fluid/Fd_Snap_Action.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/Fd_Snap_Action.cxx b/fluid/Fd_Snap_Action.cxx index 7c5b81e4d..56d1486e2 100644 --- a/fluid/Fd_Snap_Action.cxx +++ b/fluid/Fd_Snap_Action.cxx @@ -18,6 +18,7 @@ #include "Fl_Group_Type.h" #include "alignment_panel.h" +#include "shell_command.h" // get and set Fl_String preferences #include "file.h" #include <FL/fl_draw.H> @@ -692,7 +693,7 @@ void Fd_Layout_List::read(Fl_Preferences &prefs, Fd_Tool_Store storage) { Fl_Preferences prefs_list(prefs, "Layouts"); Fl_String cs; int cp = 0; - prefs_list.get("current_suite", cs, ""); + preferences_get(prefs_list, "current_suite", cs, ""); prefs_list.get("current_preset", cp, 0); for (int i = 0; i < prefs_list.groups(); ++i) { Fl_Preferences prefs_suite(prefs_list, Fl_Preferences::Name(i)); |
