From 4d58534fbb49be6c39017df1d4a32a9184e28f68 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Tue, 12 Jul 2011 17:32:26 +0100 Subject: [PATCH] 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 --- clutter/clutter-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 4f8f97e57..cea4a3c73 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -2863,7 +2863,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);