mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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:
parent
93d96dca52
commit
4a43b582ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user