diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-12-31 10:04:42 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2009-12-31 10:04:42 +0000 |
| commit | 73cd5b89883ba845125ae0a022ac8e50a6f7ebce (patch) | |
| tree | 9f2ac43db95629310aa2a35aecd7ae90b540f650 /src/ui/dialog/document-properties.cpp | |
| parent | Warning cleanup for char const* (diff) | |
| download | inkscape-73cd5b89883ba845125ae0a022ac8e50a6f7ebce.tar.gz inkscape-73cd5b89883ba845125ae0a022ac8e50a6f7ebce.zip | |
Document properties now treats lcms file load failures as non-fatal. Fixes bug #501782
Fixed bugs:
- https://launchpad.net/bugs/501782
(bzr r8930)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 982fb3415..a7241ea40 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -353,6 +353,7 @@ DocumentProperties::populate_available_profiles(){ while ((filename = (gchar *)g_dir_read_name(directory)) != NULL) { gchar* full = g_build_filename(it->c_str(), filename, NULL); if ( !Inkscape::IO::file_test( full, G_FILE_TEST_IS_DIR ) ) { + cmsErrorAction( LCMS_ERROR_SHOW ); cmsHPROFILE hProfile = cmsOpenProfileFromFile(full, "r"); if (hProfile != NULL){ const gchar* name; |
