summaryrefslogtreecommitdiffstats
path: root/src/helper/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/window.cpp')
-rw-r--r--src/helper/window.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/helper/window.cpp b/src/helper/window.cpp
index 444e1d8b0..98fbef170 100644
--- a/src/helper/window.cpp
+++ b/src/helper/window.cpp
@@ -12,19 +12,24 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
+
+#if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
+#include <glibmm/threads.h>
+#endif
+
#include <gtkmm/window.h>
#include "inkscape.h"
#include "shortcuts.h"
#include "desktop.h"
-#include "event-context.h"
+#include "ui/tools/tool-base.h"
#include "window.h"
#include <gtk/gtk.h>
static bool on_window_key_press(GdkEventKey* event)
{
unsigned int shortcut;
- shortcut = get_group0_keyval (event) |
+ shortcut = Inkscape::UI::Tools::get_group0_keyval (event) |
( event->state & GDK_SHIFT_MASK ?
SP_SHORTCUT_SHIFT_MASK : 0 ) |
( event->state & GDK_CONTROL_MASK ?