From 1857898c82b35910f6fb11270bcc724e5b21a8d8 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Fri, 24 Jan 2014 16:15:36 +0100 Subject: mouse: Add GTK3 support --- capplets/mouse/mate-mouse-properties.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capplets/mouse/mate-mouse-properties.c') 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 #endif +#if GTK_CHECK_VERSION (3, 0, 0) +#define GtkFunction GSourceFunc +#endif + enum { DOUBLE_CLICK_TEST_OFF, -- cgit v1.2.1