Closed rbuj closed 4 years ago
Why not calling reviewers?
Interesting, with the correct function return type (gboolean
) the casting via (GSourceFunc)
doesn't cause a warning. That's casting of a pointer to some type to a pointer to void
(in the function argument), same as done with response_cancel_idle_cb
and dialog_timed_out
in the same file.
@monsta done
dialog_timed_out
andresponse_cancel_idle_cb
are GSourceFunc functions which are not called outsideg_timeout_add
; for that reason, they don't need a function casting likedate_time_update
, which is called withing_timeout_add
and directlydate_time_update (plug);