summaryrefslogtreecommitdiffstats
path: root/src/widgets/paint-selector.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2013-06-06 13:44:11 +0000
committerJon A. Cruz <jon@joncruz.org>2013-06-06 13:44:11 +0000
commit72d8e897c6b67e46b2a613c4743ef9c13de25059 (patch)
tree8aa472fc661f6cacb075274a8f9579dfe8c3c841 /src/widgets/paint-selector.cpp
parentFixes r12348 and r12350. (diff)
downloadinkscape-72d8e897c6b67e46b2a613c4743ef9c13de25059.tar.gz
inkscape-72d8e897c6b67e46b2a613c4743ef9c13de25059.zip
Added configure/ifdef guards to only bring in the needed #include if glibmm has it.
(bzr r12353)
Diffstat (limited to 'src/widgets/paint-selector.cpp')
-rw-r--r--src/widgets/paint-selector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp
index 9084188b1..40d2fb9f3 100644
--- a/src/widgets/paint-selector.cpp
+++ b/src/widgets/paint-selector.cpp
@@ -24,7 +24,9 @@
#include <cstring>
#include <string>
+#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
#include <glibmm/threads.h>
+#endif
#include "widgets/swatch-selector.h"
#include "../sp-pattern.h"