summaryrefslogtreecommitdiff
path: root/capplets/mouse/mate-mouse-properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/mouse/mate-mouse-properties.c')
-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,