From 474439eb52f01ed44e82b7bcac008a6a4031c9d0 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Thu, 24 May 2012 23:29:05 +0100 Subject: Don't use extension events API in GTK+3 builds (bzr r11413) --- src/ui/dialog/input.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ui/dialog/input.cpp') diff --git a/src/ui/dialog/input.cpp b/src/ui/dialog/input.cpp index eb2ddb88f..5cd7ee14d 100644 --- a/src/ui/dialog/input.cpp +++ b/src/ui/dialog/input.cpp @@ -692,7 +692,12 @@ InputDialogImpl::InputDialogImpl() : // gint mask, // GdkExtensionMode mode); + + // TODO: Extension event stuff has been removed from public API in GTK+ 3 + // Need to check that this hasn't broken anything +#if !GTK_CHECK_VERSION(3,0,0) gtk_widget_set_extension_events( GTK_WIDGET(testDetector.gobj()), GDK_EXTENSION_EVENTS_ALL ); +#endif testDetector.add_events(Gdk::POINTER_MOTION_MASK|Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK |Gdk::PROXIMITY_IN_MASK|Gdk::PROXIMITY_OUT_MASK|Gdk::SCROLL_MASK); devDetails.attach(keyEntry, 0, 2, rowNum, rowNum + 1, -- cgit v1.2.3