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:
Håvard Pettersson 2015-04-09 19:01:33 +02:00
parent bf28ab37be
commit f24e15f32a
11 changed files with 62 additions and 61 deletions

View file

@ -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;
}