Use clutter_text_activate()

Instead of repeating the same code for the ::activate signal
emission, use the clutter_text_activate() function inside the
'activate' key binding handler.
This commit is contained in:
Emmanuele Bassi 2008-12-16 12:05:10 +00:00
parent 93d96dca52
commit 4a43b582ac

View File

@ -1446,16 +1446,7 @@ clutter_text_real_activate (ClutterText *self,
guint keyval,
ClutterModifierType modifiers)
{
ClutterTextPrivate *priv = self->priv;
if (priv->activatable)
{
g_signal_emit (self, text_signals[ACTIVATE], 0);
return TRUE;
}
return FALSE;
return clutter_text_activate (self);
}
static inline void