diff options
author | Gary Kramlich <grim@reaperworld.com> | 2020-12-17 23:31:11 -0600 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2020-12-17 23:31:11 -0600 |
commit | 9e3a4c4d5e3fc099e0a5240d04c1e9709c172de9 (patch) | |
tree | aae41e5b4847498af043d225802d2c6c824906e0 /libpurple/xmlnode.c | |
parent | 2de86473e5c04bfacee8978b3f36f83102cb5a30 (diff) | |
download | pidgin-9e3a4c4d5e3fc099e0a5240d04c1e9709c172de9.tar.gz |
Deprecate purple_util_write_data_to_file_absolute and use g_file_set_contents in place of it
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/279/
Diffstat (limited to 'libpurple/xmlnode.c')
-rw-r--r-- | libpurple/xmlnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/xmlnode.c b/libpurple/xmlnode.c index 4d97d44c23..cbaea7a6d7 100644 --- a/libpurple/xmlnode.c +++ b/libpurple/xmlnode.c @@ -852,7 +852,7 @@ purple_xmlnode_from_file(const char *dir, const char *filename, const char *desc purple_debug_error("util", "Error parsing file %s. Renaming old " "file to %s\n", filename_full, filename_temp); - purple_util_write_data_to_file_absolute(filename_temp_full, contents, length); + g_file_set_contents(filename_temp_full, contents, length, NULL); g_free(filename_temp_full); g_free(filename_temp); |