Finally fully remove the safegtk module.
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "lcp.h"
|
||||
#include "safegtk.h"
|
||||
#include "iccmatrices.h"
|
||||
#include "iccstore.h"
|
||||
#include "rawimagesource.h"
|
||||
@@ -303,7 +302,7 @@ LCPProfile::LCPProfile(Glib::ustring fname)
|
||||
persModelCount = 0;
|
||||
*inInvalidTag = 0;
|
||||
|
||||
FILE *pFile = safe_g_fopen(fname, "rb");
|
||||
FILE *pFile = g_fopen(fname.c_str (), "rb");
|
||||
|
||||
bool done;
|
||||
|
||||
@@ -807,7 +806,7 @@ LCPProfile* LCPStore::getProfile (Glib::ustring filename)
|
||||
|
||||
bool LCPStore::isValidLCPFileName(Glib::ustring filename) const
|
||||
{
|
||||
if (!safe_file_test (filename, Glib::FILE_TEST_EXISTS) || safe_file_test (filename, Glib::FILE_TEST_IS_DIR)) {
|
||||
if (!Glib::file_test (filename, Glib::FILE_TEST_EXISTS) || Glib::file_test (filename, Glib::FILE_TEST_IS_DIR)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -828,7 +827,7 @@ Glib::ustring LCPStore::getDefaultCommonDirectory() const
|
||||
WideCharToMultiByte(CP_UTF8, 0, pathW, -1, pathA, MAX_PATH, 0, 0);
|
||||
Glib::ustring fullDir = Glib::ustring(pathA) + Glib::ustring("\\Adobe\\CameraRaw\\LensProfiles\\1.0");
|
||||
|
||||
if (safe_file_test(fullDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
if (Glib::file_test (fullDir, Glib::FILE_TEST_IS_DIR)) {
|
||||
dir = fullDir;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user