57
58
ua_alarms_session_set_alarm_removed_handler(session, something_happened_handler, &something_happened);
58
59
while (!something_happened && (g_timer_elapsed(timer,nullptr)<max_seconds))
60
g_debug("(waited %d seconds for something to happen in the UA alarm session", (int)g_timer_elapsed(timer,nullptr));
61
g_debug("(waited %d seconds for something to happen in the UA alarm session)", (int)g_timer_elapsed(timer,nullptr));