comparison src/status.c @ 10414:26eac2362c32

[gaim-migrate @ 11664] I'm starting to feel better. Little change here, little change there. Mostly I added a function gaim_util_write_xml_file to be used to write our config files. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 25 Dec 2004 18:33:27 +0000
parents 6a043ae92db6
children 5b7a74d397cc
comparison
equal deleted inserted replaced
10413:960b6a41d02f 10414:26eac2362c32
1996 { 1996 {
1997 const char *user_dir = gaim_user_dir(); 1997 const char *user_dir = gaim_user_dir();
1998 gchar *filename; 1998 gchar *filename;
1999 gchar *msg; 1999 gchar *msg;
2000 2000
2001 if (user_dir == NULL) 2001 g_return_if_fail(user_dir != NULL);
2002 return;
2003 2002
2004 filename = g_build_filename(user_dir, "status.xml", NULL); 2003 filename = g_build_filename(user_dir, "status.xml", NULL);
2005 2004
2006 if (g_file_test(filename, G_FILE_TEST_EXISTS)) 2005 if (g_file_test(filename, G_FILE_TEST_EXISTS))
2007 { 2006 {
2020 } 2019 }
2021 2020
2022 void 2021 void
2023 gaim_statuses_sync(void) 2022 gaim_statuses_sync(void)
2024 { 2023 {
2025 /* TODO: Write me, baby. */ 2024 /* TODO: Only attempt to write if we've already read the file. */
2026 } 2025
2026 //gaim_util_write_xml_file("status.xml", data);
2027 }