[gtk+/wip/carlosg/event-as-object: 16/23] gtk: Remove CONSTRUCT_ONLY flag from GtkEventControllerScroll::flags



commit 8f6008d2981727c59871961eba77adf07613071c
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 407f254..ac47c8d 100644
--- a/gtk/gtkeventcontrollerscroll.c
+++ b/gtk/gtkeventcontrollerscroll.c
@@ -325,8 +325,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);
 
   signals[SCROLL_BEGIN] =
     g_signal_new (I_("scroll-begin"),


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