summaryrefslogtreecommitdiffstats
path: root/src/widgets/shrink-wrap-button.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/shrink-wrap-button.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/shrink-wrap-button.cpp')
-rw-r--r--src/widgets/shrink-wrap-button.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/shrink-wrap-button.cpp b/src/widgets/shrink-wrap-button.cpp
index fed792adb..3558780ed 100644
--- a/src/widgets/shrink-wrap-button.cpp
+++ b/src/widgets/shrink-wrap-button.cpp
@@ -13,7 +13,9 @@
#include "config.h"
#endif
+#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
#include <glibmm/threads.h>
+#endif
#include <gtkmm/button.h>
#include <gtk/gtk.h>