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.
This commit is contained in:
Carlos Garnacho 2017-10-31 12:45:37 +01:00
parent ea216accd7
commit 47f04afa48

View File

@ -373,8 +373,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: