[gtk+/wip/carlosg/event-as-object: 837/844] gtk: Remove CONSTRUCT_ONLY flag from GtkEventControllerScroll::flags
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/carlosg/event-as-object: 837/844] gtk: Remove CONSTRUCT_ONLY flag from GtkEventControllerScroll::flags
- Date: Wed, 13 Dec 2017 17:08:08 +0000 (UTC)
commit 9b5ccb0d0fbec022bc4018f7794ade073d32019d
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]