summaryrefslogtreecommitdiffstats
path: root/src/display
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-05-18 06:25:49 +0000
committerJon A. Cruz <jon@joncruz.org>2011-05-18 06:25:49 +0000
commit08eedb1441005f836d223b6143dc15c8009a3535 (patch)
treef2f5c731c5d2d16422858e7798ae4b61b0a01278 /src/display
parentFix fallback to MRU locations. (diff)
downloadinkscape-08eedb1441005f836d223b6143dc15c8009a3535.tar.gz
inkscape-08eedb1441005f836d223b6143dc15c8009a3535.zip
Made dependencies explicit and bumped versions.
(bzr r10208)
Diffstat (limited to 'src/display')
-rw-r--r--src/display/sp-canvas.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp
index 2d1e57092..0d450362a 100644
--- a/src/display/sp-canvas.cpp
+++ b/src/display/sp-canvas.cpp
@@ -47,12 +47,9 @@
using Inkscape::Debug::GdkEventLatencyTracker;
-// GTK_CHECK_VERSION returns false on failure
-#define HAS_GDK_EVENT_REQUEST_MOTIONS GTK_CHECK_VERSION(2, 12, 0)
-
// gtk_check_version returns non-NULL on failure
static bool const HAS_BROKEN_MOTION_HINTS =
- true || gtk_check_version(2, 12, 0) != NULL || !HAS_GDK_EVENT_REQUEST_MOTIONS;
+ true || gtk_check_version(2, 12, 0) != NULL;
// Define this to visualize the regions to be redrawn
//#define DEBUG_REDRAW 1;
@@ -1599,9 +1596,7 @@ sp_canvas_scroll (GtkWidget *widget, GdkEventScroll *event)
static inline void request_motions(GdkWindow *w, GdkEventMotion *event) {
gdk_window_get_pointer(w, NULL, NULL, NULL);
-#if HAS_GDK_EVENT_REQUEST_MOTIONS
gdk_event_request_motions(event);
-#endif
}
/**