Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/src/status.c Fri Dec 24 16:45:33 2004 +0000 +++ b/src/status.c Sat Dec 25 18:33:27 2004 +0000 @@ -1998,8 +1998,7 @@ gchar *filename; gchar *msg; - if (user_dir == NULL) - return; + g_return_if_fail(user_dir != NULL); filename = g_build_filename(user_dir, "status.xml", NULL); @@ -2022,5 +2021,7 @@ void gaim_statuses_sync(void) { - /* TODO: Write me, baby. */ + /* TODO: Only attempt to write if we've already read the file. */ + + //gaim_util_write_xml_file("status.xml", data); }