From 91b8ebdd4c19cf9fa5a496222d1e337239c543db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Pettersson?= Date: Tue, 7 Oct 2014 03:53:04 +0200 Subject: [PATCH] Renamed method twc_save_profile_data_file. New name twc_profile_save_data_file. --- src/twc-profile.c | 4 ++-- src/twc-profile.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/twc-profile.c b/src/twc-profile.c index 0367624..5754784 100644 --- a/src/twc-profile.c +++ b/src/twc-profile.c @@ -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; diff --git a/src/twc-profile.h b/src/twc-profile.h index 9fe7053..91a90d2 100644 --- a/src/twc-profile.h +++ b/src/twc-profile.h @@ -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);