[gtk+] stack: GtkStack:interpolate-size should be read/write
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stack: GtkStack:interpolate-size should be read/write
- Date: Tue, 3 Nov 2015 23:14:28 +0000 (UTC)
commit 24391634b5ac78ddf431da1a50ca1e0ca16795c5
Author: Christian Hergert <chergert redhat com>
Date: Tue Nov 3 15:13:51 2015 -0800
stack: GtkStack:interpolate-size should be read/write
It looks like the param spec for interpolate-size was
copied from the line above it, which is a read only property.
There is a setter for interpolate-size, and it is implemented in
set_property().
gtk/gtkstack.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index a769abd..2460609 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -470,7 +470,7 @@ gtk_stack_class_init (GtkStackClass *klass)
stack_props[PROP_INTERPOLATE_SIZE] =
g_param_spec_boolean ("interpolate-size", P_("Interpolate size"), P_("Whether or not the size should
smoothly change when changing between differently sized children"),
FALSE,
- GTK_PARAM_READABLE);
+ GTK_PARAM_READWRITE);
g_object_class_install_properties (object_class, LAST_PROP, stack_props);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]