From 01a7615e648bba7e72520729f112182f4261b01d Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Mon, 10 Aug 2015 17:24:03 +0200 Subject: [PATCH] kinetic-scroll-view: document correct :snap-on-page default value The g_param_spec_boolean() definition for :snap-on-page had a default value of FALSE but actually in _init it's set to TRUE. --- mx/mx-kinetic-scroll-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mx/mx-kinetic-scroll-view.c b/mx/mx-kinetic-scroll-view.c index 76d11163..26a46296 100644 --- a/mx/mx-kinetic-scroll-view.c +++ b/mx/mx-kinetic-scroll-view.c @@ -727,7 +727,7 @@ mx_kinetic_scroll_view_class_init (MxKineticScrollViewClass *klass) pspec = g_param_spec_boolean ("snap-on-page", "Snap on page", "Whether to stop animations on step increments.", - FALSE, + TRUE, MX_PARAM_READWRITE); g_object_class_install_property (object_class, PROP_SNAP_ON_PAGE, pspec);