summaryrefslogtreecommitdiffstats
path: root/src/event-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/event-context.cpp')
-rw-r--r--src/event-context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event-context.cpp b/src/event-context.cpp
index 4a0608d62..628380a2c 100644
--- a/src/event-context.cpp
+++ b/src/event-context.cpp
@@ -18,7 +18,9 @@
# include "config.h"
#endif
+#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
#include <glibmm/threads.h>
+#endif
#include "shortcuts.h"
#include "file.h"