summaryrefslogtreecommitdiffstats
path: root/src/widgets/gradient-vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/gradient-vector.h')
-rw-r--r--src/widgets/gradient-vector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/gradient-vector.h b/src/widgets/gradient-vector.h
index 9e3792c06..e90dc9af3 100644
--- a/src/widgets/gradient-vector.h
+++ b/src/widgets/gradient-vector.h
@@ -15,7 +15,9 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
#include <glibmm/threads.h>
+#endif
#include <gtkmm/liststore.h>