From 84d3bfb6fd13959b44ee8d6947d91e03f90fc8e6 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 31 Oct 2017 12:45:37 +0100 Subject: gtk: Remove CONSTRUCT_ONLY flag from GtkEventControllerScroll::flags There is a gtk_event_controller_scroll_set_flags() call that's meant to be called after construction (eg. due to scrolledwindow relayouts hiding/showing scrollbars). The property shouldn't be construct-only for consistence. --- gtk/gtkeventcontrollerscroll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/gtkeventcontrollerscroll.c b/gtk/gtkeventcontrollerscroll.c index f0816a5d65..1edf6cc4ea 100644 --- a/gtk/gtkeventcontrollerscroll.c +++ b/gtk/gtkeventcontrollerscroll.c @@ -372,8 +372,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass) P_("Flags"), GTK_TYPE_EVENT_CONTROLLER_SCROLL_FLAGS, GTK_EVENT_CONTROLLER_SCROLL_NONE, - G_PARAM_READWRITE | - G_PARAM_CONSTRUCT_ONLY); + G_PARAM_READWRITE); /** * GtkEventControllerScroll::scroll-begin: -- cgit v1.2.1