[gtk+/gtk-3-18] stack: GtkStack:interpolate-size should be read/write
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-18] stack: GtkStack:interpolate-size should be read/write
- Date: Mon, 9 Nov 2015 13:53:00 +0000 (UTC)
commit d1dda37f8c9664b437cefb48b55b5fc72f97afd0
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]