input-device: Move select_stage_events() to a vfunc

Don't use a signal, use a virtual function.
This commit is contained in:
Emmanuele Bassi
2011-01-17 17:01:58 +00:00
parent 2777c52f27
commit 342cdd2575
4 changed files with 13 additions and 29 deletions

View File

@ -96,12 +96,11 @@ static void
clutter_input_device_xi2_class_init (ClutterInputDeviceXI2Class *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterInputDeviceClass *device_class = CLUTTER_INPUT_DEVICE_CLASS (klass);
gobject_class->constructed = clutter_input_device_xi2_constructed;
g_signal_override_class_handler ("select-stage-events",
CLUTTER_TYPE_INPUT_DEVICE_XI2,
G_CALLBACK (clutter_input_device_xi2_select_stage_events));
device_class->select_stage_events = clutter_input_device_xi2_select_stage_events;
}
static void