projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d96dc
)
Use clutter_text_activate()
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 16 Dec 2008 12:05:10 +0000
(12:05 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Tue, 16 Dec 2008 12:05:10 +0000
(12:05 +0000)
Instead of repeating the same code for the ::activate signal
emission, use the clutter_text_activate() function inside the
'activate' key binding handler.
clutter/clutter-text.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-text.c
b/clutter/clutter-text.c
index
22198a6
..
cfeb3a7
100644
(file)
--- a/
clutter/clutter-text.c
+++ b/
clutter/clutter-text.c
@@
-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