[gtk+] gtk: Remove CONSTRUCT_ONLY flag from GtkEventControllerScroll::flags



commit 47f04afa482af866dc28145b7d9347ee56ccf85b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Oct 31 12:45:37 2017 +0100

    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 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkeventcontrollerscroll.c b/gtk/gtkeventcontrollerscroll.c
index c9819ef..6bd35ad 100644
--- a/gtk/gtkeventcontrollerscroll.c
+++ b/gtk/gtkeventcontrollerscroll.c
@@ -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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]