diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-10-31 12:45:37 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-07-16 15:43:43 +0200 |
commit | 84d3bfb6fd13959b44ee8d6947d91e03f90fc8e6 (patch) | |
tree | 58e31330183609631b65d4659f993dba27c5c1d8 | |
parent | 448551f31c0d7323b593d9ac7e293a1df8ba57aa (diff) | |
download | gtk+-84d3bfb6fd13959b44ee8d6947d91e03f90fc8e6.tar.gz |
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.
-rw-r--r-- | gtk/gtkeventcontrollerscroll.c | 3 |
1 files changed, 1 insertions, 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: |