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
@ -1,3 +1,8 @@
|
|||||||
|
2007-10-11 Tomas Frydrych <tf@o-hand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-entry.c:
|
||||||
|
Avoid using C++ reserverd words to name variables.
|
||||||
|
|
||||||
2007-10-11 Øyvind Kolås <pippin@o-hand.com>
|
2007-10-11 Øyvind Kolås <pippin@o-hand.com>
|
||||||
|
|
||||||
Improve the quality of text when the scale it is shown at screen is
|
Improve the quality of text when the scale it is shown at screen is
|
||||||
|
@ -888,12 +888,12 @@ clutter_entry_set_text (ClutterEntry *entry,
|
|||||||
}
|
}
|
||||||
else
|
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);
|
g_free (priv->text);
|
||||||
|
|
||||||
priv->text = g_strdup (new);
|
priv->text = n;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user