summaryrefslogtreecommitdiff
path: root/capplets/mouse
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-24 16:15:36 +0100
committerStefano Karapetsas <[email protected]>2014-01-24 16:15:36 +0100
commit1857898c82b35910f6fb11270bcc724e5b21a8d8 (patch)
treed7b7ae24a86a5674c04e7b78bcc1e19e016e3c22 /capplets/mouse
parentbf0565cd86651d60318b5d09876aed0cc5f6866e (diff)
downloadmate-control-center-1857898c82b35910f6fb11270bcc724e5b21a8d8.tar.bz2
mate-control-center-1857898c82b35910f6fb11270bcc724e5b21a8d8.tar.xz
mouse: Add GTK3 support
Diffstat (limited to 'capplets/mouse')
-rw-r--r--capplets/mouse/mate-mouse-properties.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c
index 586c931c..cf5c9deb 100644
--- a/capplets/mouse/mate-mouse-properties.c
+++ b/capplets/mouse/mate-mouse-properties.c
@@ -48,6 +48,10 @@
#include <X11/Xcursor/Xcursor.h>
#endif
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define GtkFunction GSourceFunc
+#endif
+
enum
{
DOUBLE_CLICK_TEST_OFF,