Initialize the cursor position

By default, the cursor position is initialized to -1, meaning
"place the cursor always at the end of the text".
This commit is contained in:
Emmanuele Bassi 2008-12-11 11:42:33 +00:00
parent d5df1bebcf
commit 7af992974e

View File

@ -1391,6 +1391,8 @@ clutter_text_init (ClutterText *self)
priv->font_name = g_strdup (DEFAULT_FONT_NAME);
priv->font_desc = pango_font_description_from_string (priv->font_name);
priv->position = -1;
priv->x_pos = -1;
priv->cursor_visible = TRUE;
priv->editable = FALSE;