mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-30 06:16:47 +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:
@ -51,7 +51,7 @@ void prompt_update_connectionstatus(ToxWindow *prompt, bool is_connected);
|
||||
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);
|
||||
|
||||
/* Returns our own connection status */
|
||||
TOX_CONNECTION prompt_selfConnectionStatus(void);
|
||||
|
Reference in New Issue
Block a user