diff -r 48b1ba24def3 -r dbce81931c2b pidgin/gtkutils.c --- a/pidgin/gtkutils.c Wed Jul 15 22:41:52 2009 +0000 +++ b/pidgin/gtkutils.c Wed Jul 15 23:11:00 2009 +0000 @@ -3736,10 +3736,9 @@ return; } - if (!g_file_set_contents(file, contents, length, &error)) { - purple_debug_error("gtkutils", "Unable to write contents to %s: %s\n", - file, error->message); - g_error_free(error); + if (!purple_util_write_data_to_file_absolute(file, contents, length)) { + purple_debug_error("gtkutils", "Unable to write contents to %s\n", + file); } }