Rename macros per the new core API.
- TOX_FRIEND_ADDRESS_SIZE -> TOX_ADDRESS_SIZE - TOX_CLIENT_ID_SIZE -> TOX_PUBLIC_KEY_SIZE - TOX_USERSTATUS(_*) -> TOX_USER_STATUS(_*) - TOX_FAERR_* -> TOX_ERR_FRIEND_ADD_*
This commit is contained in:
@@ -43,10 +43,10 @@ twc_bar_item_away(void *data,
|
||||
char *status = NULL;;
|
||||
switch (tox_get_self_user_status(profile->tox))
|
||||
{
|
||||
case TOX_USERSTATUS_BUSY:
|
||||
case TOX_USER_STATUS_BUSY:
|
||||
status = strdup("busy");
|
||||
break;
|
||||
case TOX_USERSTATUS_AWAY:
|
||||
case TOX_USER_STATUS_AWAY:
|
||||
status = strdup("away");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user