mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-02 17:46:45 +02:00
Rename callback implementations to be of the form on_$event
.
So it's easy to map from implementation to the event without looking at the `tox_callback_*` calls.
This commit is contained in:
@ -137,7 +137,7 @@ void kill_prompt_window(ToxWindow *self)
|
||||
}
|
||||
|
||||
/* callback: Updates own connection status in prompt statusbar */
|
||||
void prompt_onSelfConnectionChange(Tox *m, TOX_CONNECTION connection_status, void *userdata)
|
||||
void on_self_connection_status(Tox *m, TOX_CONNECTION connection_status, void *userdata)
|
||||
{
|
||||
StatusBar *statusbar = prompt->stb;
|
||||
statusbar->connection = connection_status;
|
||||
|
Reference in New Issue
Block a user