summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/document-properties.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2009-01-21 20:57:33 +0000
committercilix42 <cilix42@users.sourceforge.net>2009-01-21 20:57:33 +0000
commit7a00c5b7e7196e429d5eb3651ca59f3c716e13ad (patch)
tree8adaf1e912226036a3f4cfd31e49b498105a428b /src/ui/dialog/document-properties.cpp
parentupdated translation from JazzyNico (diff)
downloadinkscape-7a00c5b7e7196e429d5eb3651ca59f3c716e13ad.tar.gz
inkscape-7a00c5b7e7196e429d5eb3651ca59f3c716e13ad.zip
Fix compile when lcms is disabled
(bzr r7156)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
-rw-r--r--src/ui/dialog/document-properties.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index 36861ad2c..78b1c6f11 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -683,8 +683,10 @@ DocumentProperties::build_scripting()
_add_btn.signal_clicked().connect(sigc::mem_fun(*this, &DocumentProperties::addExternalScript));
+#if ENABLE_LCMS
_ExternalScriptsList.signal_button_release_event().connect_notify(sigc::mem_fun(*this, &DocumentProperties::external_scripts_list_button_release));
scripting_create_popup_menu(_ExternalScriptsList, sigc::mem_fun(*this, &DocumentProperties::removeExternalScript));
+#endif // ENABLE_LCMS
//TODO: review this observers code:
const GSList *current = sp_document_get_resource_list( SP_ACTIVE_DOCUMENT, "script" );