summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 03366a0c3..291059999 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -986,18 +986,10 @@ void InkscapePreferences::initPageIO()
Glib::ustring current = prefs->getString( "/options/displayprofile/uri" );
gint index = 0;
-#if WITH_GTKMM_2_24
_cms_display_profile.append(_("<none>"));
-#else
- _cms_display_profile.append_text(_("<none>"));
-#endif
index++;
for ( std::vector<Glib::ustring>::iterator it = names.begin(); it != names.end(); ++it ) {
-#if WITH_GTKMM_2_24
_cms_display_profile.append( *it );
-#else
- _cms_display_profile.append_text( *it );
-#endif
Glib::ustring path = CMSSystem::getPathForProfile(*it);
if ( !path.empty() && path == current ) {
_cms_display_profile.set_active(index);
@@ -1012,11 +1004,7 @@ void InkscapePreferences::initPageIO()
current = prefs->getString("/options/softproof/uri");
index = 0;
for ( std::vector<Glib::ustring>::iterator it = names.begin(); it != names.end(); ++it ) {
-#if WITH_GTKMM_2_24
_cms_proof_profile.append( *it );
-#else
- _cms_proof_profile.append_text( *it );
-#endif
Glib::ustring path = CMSSystem::getPathForProfile(*it);
if ( !path.empty() && path == current ) {
_cms_proof_profile.set_active(index);