Mark EekKey::pressed as G_SIGNAL_RUN_FIRST.

This commit is contained in:
Daiki Ueno
2011-03-07 12:37:25 +09:00
parent 1db2a4aeea
commit 668ce51f3c

View File

@ -448,12 +448,14 @@ eek_key_class_init (EekKeyClass *klass)
* @key: an #EekKey
*
* The ::pressed signal is emitted each time @key is shifted to
* the pressed state.
* the pressed state. The class handler runs before signal
* handlers to allow signal handlers to read the status of @key
* with eek_key_is_pressed().
*/
signals[PRESSED] =
g_signal_new (I_("pressed"),
G_TYPE_FROM_CLASS(gobject_class),
G_SIGNAL_RUN_LAST,
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET(EekKeyClass, pressed),
NULL,
NULL,