@@ -491,9 +491,9 @@ static void wayland_detach(struct wayvnc* self)
491491 ctl_server_event_detached (self -> ctl );
492492}
493493
494- void on_wayland_event (void * obj )
494+ void on_wayland_event (struct aml_handler * handler )
495495{
496- struct wayvnc * self = aml_get_userdata (obj );
496+ struct wayvnc * self = aml_get_userdata (handler );
497497
498498 int rc MAYBE_UNUSED = wl_display_prepare_read (self -> display );
499499 assert (rc == 0 );
@@ -602,7 +602,7 @@ void wayvnc_exit(struct wayvnc* self)
602602 self -> do_exit = true;
603603}
604604
605- void on_signal (void * obj )
605+ void on_signal (struct aml_signal * obj )
606606{
607607 nvnc_log (NVNC_LOG_INFO , "Received termination signal." );
608608 struct wayvnc * self = aml_get_userdata (obj );
@@ -1168,7 +1168,7 @@ int wayvnc_start_capture_immediate(struct wayvnc* self)
11681168 return rc ;
11691169}
11701170
1171- static void on_capture_restart_timer (void * obj )
1171+ static void on_capture_restart_timer (struct aml_timer * obj )
11721172{
11731173 struct wayvnc * self = aml_get_userdata (obj );
11741174 aml_unref (self -> capture_retry_timer );
@@ -1345,7 +1345,7 @@ int check_cfg_sanity(struct cfg* cfg)
13451345 return 0 ;
13461346}
13471347
1348- static void on_perf_tick (void * obj )
1348+ static void on_perf_tick (struct aml_ticker * obj )
13491349{
13501350 struct wayvnc * self = aml_get_userdata (obj );
13511351
@@ -2205,9 +2205,6 @@ int main(int argc, char* argv[])
22052205 self .selected_seat = seat ;
22062206 }
22072207
2208- if (aml_unstable_abi_version != AML_UNSTABLE_API )
2209- nvnc_log (NVNC_LOG_PANIC , "libaml is incompatible with this build of wayvnc!" );
2210-
22112208 enum socket_type default_socket_type = SOCKET_TYPE_TCP ;
22122209 if (use_unix_socket )
22132210 default_socket_type = SOCKET_TYPE_UNIX ;
0 commit comments