mce_enable_accelerometer ();
mce_signal = conn.get_object (MCE_SERVICE, MCE_SIGNAL_PATH, MCE_SIGNAL_IF);
- mce_signal.sig_device_orientation_ind += on_mce_orientation_changed;
+ mce_signal.sig_device_orientation_ind.connect (on_mce_orientation_changed);
hal_slide = conn.get_object (HAL_SERVICE, HAL_SLIDE_PATH, HAL_DEVICE_IF);
- hal_slide.Condition += on_hal_slide_condition;
+ hal_slide.Condition.connect (on_hal_slide_condition);
bool closed = hal_slide.GetPropertyBoolean ("button.state.value");
keyboard = !closed;
} catch (Error e) {