Renamed method twc_save_profile_data_file.

New name twc_profile_save_data_file.
This commit is contained in:
Håvard Pettersson 2014-10-07 03:53:04 +02:00
parent 6e09fb4b7e
commit 91b8ebdd4c
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ twc_profile_load_data(struct t_twc_profile *profile)
* TODO: support encrypted save files
*/
int
twc_save_profile_data_file(struct t_twc_profile *profile)
twc_profile_save_data_file(struct t_twc_profile *profile)
{
if (!(profile->tox))
return -1;
@ -287,7 +287,7 @@ twc_profile_unload(struct t_twc_profile *profile)
return;
// save and kill tox
int result = twc_save_profile_data_file(profile);
int result = twc_profile_save_data_file(profile);
tox_kill(profile->tox);
profile->tox = NULL;

View File

@ -69,7 +69,7 @@ void
twc_profile_autoload();
int
twc_save_profile_data_file(struct t_twc_profile *profile);
twc_profile_save_data_file(struct t_twc_profile *profile);
void
twc_profile_refresh_online_status(struct t_twc_profile *profile);