diff libpurple/status.c @ 25343:ff883620d9d4

Thomas Gibson-Robinson noticed that the "saveable" attribute of a status type didn't actually do anything (and consequently "non-saveable" status types were being saved). A side effect of fixing this is that we have to change the behavior of purple_status_type_new() to default "saveable" to TRUE in order to maintain the current behavior. Fixes #8162
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 20 Jan 2009 04:08:00 +0000
parents 2567a386f3a8
children f648144bc93d 3687049b4faf
line wrap: on
line diff
--- a/libpurple/status.c	Tue Jan 20 03:30:36 2009 +0000
+++ b/libpurple/status.c	Tue Jan 20 04:08:00 2009 +0000
@@ -250,7 +250,7 @@
 {
 	g_return_val_if_fail(primitive != PURPLE_STATUS_UNSET, NULL);
 
-	return purple_status_type_new_full(primitive, id, name, FALSE,
+	return purple_status_type_new_full(primitive, id, name, TRUE,
 			user_settable, FALSE);
 }