Commit 1ef9332f authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko Committed by Adrien Plazas
Browse files

paginator: Check for value change in set_allow_mouse_drag()


Signed-off-by: default avatarAlexander Mikhaylenko <alexn@gnome.org>
parent 4ecf2e57
......@@ -1437,6 +1437,9 @@ hdy_paginator_set_allow_mouse_drag (HdyPaginator *self,
allow_mouse_drag = !!allow_mouse_drag;
if (hdy_paginator_get_allow_mouse_drag (self) == allow_mouse_drag)
return;
hdy_swipe_tracker_set_allow_mouse_drag (self->tracker, allow_mouse_drag);
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_ALLOW_MOUSE_DRAG]);
......
Supports Markdown
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