diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 4b7ae3f13..76721a6d2 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -688,11 +688,11 @@ clutter_text_get_property (GObject *gobject, break; case PROP_POSITION: - g_value_set_int (value, CLUTTER_FIXED_TO_FLOAT (priv->position)); + g_value_set_int (value, priv->position); break; case PROP_SELECTION_BOUND: - g_value_set_int (value, CLUTTER_FIXED_TO_FLOAT (priv->selection_bound)); + g_value_set_int (value, priv->selection_bound); break; case PROP_EDITABLE: @@ -719,6 +719,30 @@ clutter_text_get_property (GObject *gobject, g_value_set_boolean (value, priv->single_line_mode); break; + case PROP_ELLIPSIZE: + g_value_set_enum (value, priv->ellipsize); + break; + + case PROP_LINE_WRAP: + g_value_set_boolean (value, priv->wrap); + break; + + case PROP_LINE_WRAP_MODE: + g_value_set_enum (value, priv->wrap_mode); + break; + + case PROP_ALIGNMENT: + g_value_set_enum (value, priv->alignment); + break; + + case PROP_JUSTIFY: + g_value_set_boolean (value, priv->justify); + break; + + case PROP_ATTRIBUTES: + g_value_set_boxed (value, priv->attrs); + break; + default: G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); }