Commit 09610dae authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

gesture-tracker: Don't pass an autodeny-timeout

Just use the default value of 250.
parent 13b7fa4e
......@@ -854,7 +854,7 @@ meta_display_open (void)
meta_screen_create_guard_window (screen);
/* Set up touch support */
the_display->gesture_tracker = meta_gesture_tracker_new (0);
the_display->gesture_tracker = meta_gesture_tracker_new ();
g_signal_connect (the_display->gesture_tracker, "state-changed",
G_CALLBACK (gesture_tracker_state_changed), the_display);
meta_display_grab_window_touch (the_display, DefaultRootWindow (the_display->xdisplay));
......
......@@ -68,7 +68,7 @@ struct _MetaGestureTrackerClass
GType meta_gesture_tracker_get_type (void) G_GNUC_CONST;
MetaGestureTracker * meta_gesture_tracker_new (guint autodeny_timeout);
MetaGestureTracker * meta_gesture_tracker_new (void);
gboolean meta_gesture_tracker_handle_event (MetaGestureTracker *tracker,
const ClutterEvent *event);
......
......@@ -342,11 +342,9 @@ meta_gesture_tracker_init (MetaGestureTracker *tracker)
}
MetaGestureTracker *
meta_gesture_tracker_new (guint autodeny_timeout)
meta_gesture_tracker_new (void)
{
return g_object_new (META_TYPE_GESTURE_TRACKER,
"autodeny-timeout", autodeny_timeout,
NULL);
return g_object_new (META_TYPE_GESTURE_TRACKER, NULL);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment