Finally fully remove the safegtk module.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#include "../rtengine/dfmanager.h"
|
||||
#include "../rtengine/ffmanager.h"
|
||||
#include <sstream>
|
||||
#include "../rtengine/safegtk.h"
|
||||
#include "rtimage.h"
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
@@ -1357,7 +1356,7 @@ void Preferences::parseDir (Glib::ustring dirname, std::vector<Glib::ustring>& i
|
||||
Glib::ustring sname = *i;
|
||||
|
||||
// ignore directories
|
||||
if (!safe_file_test (fname, Glib::FILE_TEST_IS_DIR) && sname.size() >= ext.size() && sname.substr (sname.size() - ext.size(), ext.size()).casefold() == ext) {
|
||||
if (!Glib::file_test (fname, Glib::FILE_TEST_IS_DIR) && sname.size() >= ext.size() && sname.substr (sname.size() - ext.size(), ext.size()).casefold() == ext) {
|
||||
items.push_back (sname.substr(0, sname.size() - ext.size()));
|
||||
}
|
||||
}
|
||||
@@ -1647,18 +1646,18 @@ void Preferences::fillPreferences ()
|
||||
#ifdef WIN32
|
||||
edPS->set_active (moptions.editorToSendTo == 2);
|
||||
|
||||
if (safe_file_test (moptions.gimpDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
if (Glib::file_test (moptions.gimpDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
gimpDir->set_current_folder (moptions.gimpDir);
|
||||
}
|
||||
|
||||
if (safe_file_test (moptions.psDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
if (Glib::file_test (moptions.psDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
psDir->set_current_folder (moptions.psDir);
|
||||
}
|
||||
|
||||
#elif defined __APPLE__
|
||||
edPS->set_active (moptions.editorToSendTo == 2);
|
||||
|
||||
if (safe_file_test (moptions.psDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
if (Glib::file_test (moptions.psDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
psDir->set_current_folder (moptions.psDir);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user