summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2011-07-12 17:32:26 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-07-18 15:31:41 +0100
commit7b650e4d3be512855fc7be506d45a050f59fc77e (patch)
tree5d7f4f2a2f75a8e9e84f59fb32d648dced2772cd
parente0e9c3fc4f3f32c07e998807c383c5677cf71001 (diff)
downloadclutter-7b650e4d3be512855fc7be506d45a050f59fc77e.tar.gz
text: Fix the default value of "editable"
The "editable" property is documented to default to TRUE, but is initialized to FALSE in the _init() function. Third party code would be affected if we changed the default to be TRUE, so we have to change the default value in the GParamSpec. https://bugzilla.gnome.org/show_bug.cgi?id=654726 (cherry picked from commit 4d58534fbb49be6c39017df1d4a32a9184e28f68) Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
-rw-r--r--clutter/clutter-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 744b2942a..e227c67d3 100644
--- a/clutter/clutter-text.c
+++ b/clutter/clutter-text.c
@@ -2795,7 +2795,7 @@ clutter_text_class_init (ClutterTextClass *klass)
pspec = g_param_spec_boolean ("editable",
P_("Editable"),
P_("Whether the text is editable"),
- TRUE,
+ FALSE,
G_PARAM_READWRITE);
obj_props[PROP_EDITABLE] = pspec;
g_object_class_install_property (gobject_class, PROP_EDITABLE, pspec);