mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
2007-10-11 Tomas Frydrych <tf@o-hand.com>
* clutter/clutter-entry.c: Avoid using C++ reserverd words to name variables.
This commit is contained in:
parent
914c930cee
commit
422c725a47
@ -888,12 +888,12 @@ clutter_entry_set_text (ClutterEntry *entry,
|
||||
}
|
||||
else
|
||||
{
|
||||
gchar new[priv->max_length + 1];
|
||||
gchar * n = g_malloc0 (priv->max_length + 1);
|
||||
|
||||
g_utf8_strncpy (new, text, priv->max_length);
|
||||
g_utf8_strncpy (n, text, priv->max_length);
|
||||
g_free (priv->text);
|
||||
|
||||
priv->text = g_strdup (new);
|
||||
priv->text = n;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user