Mercurial > pidgin.yaz
comparison libpurple/protocols/null/nullprpl.c @ 25417:2d4f0dd04334
Deprecate some functions that aren't really needed
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 26 Jan 2009 09:46:09 +0000 |
parents | 65cfc59858cf |
children | ff4212a5268f |
comparison
equal
deleted
inserted
replaced
25416:6e1967b0f90b | 25417:2d4f0dd04334 |
---|---|
284 | 284 |
285 purple_debug_info("nullprpl", "returning status types for %s: %s, %s, %s\n", | 285 purple_debug_info("nullprpl", "returning status types for %s: %s, %s, %s\n", |
286 acct->username, | 286 acct->username, |
287 NULL_STATUS_ONLINE, NULL_STATUS_AWAY, NULL_STATUS_OFFLINE); | 287 NULL_STATUS_ONLINE, NULL_STATUS_AWAY, NULL_STATUS_OFFLINE); |
288 | 288 |
289 type = purple_status_type_new(PURPLE_STATUS_AVAILABLE, NULL_STATUS_ONLINE, | 289 type = purple_status_type_new_with_attrs(PURPLE_STATUS_AVAILABLE, |
290 NULL, TRUE); | 290 NULL_STATUS_ONLINE, NULL, TRUE, TRUE, FALSE, |
291 purple_status_type_add_attr(type, "message", _("Message"), | 291 "message", _("Message"), purple_value_new(PURPLE_TYPE_STRING), |
292 purple_value_new(PURPLE_TYPE_STRING)); | 292 NULL); |
293 types = g_list_prepend(types, type); | 293 types = g_list_prepend(types, type); |
294 | 294 |
295 type = purple_status_type_new(PURPLE_STATUS_AWAY, NULL_STATUS_AWAY, | 295 type = purple_status_type_new_with_attrs(PURPLE_STATUS_AWAY, |
296 NULL, TRUE); | 296 NULL_STATUS_AWAY, NULL, TRUE, TRUE, FALSE, |
297 purple_status_type_add_attr(type, "message", _("Message"), | 297 "message", _("Message"), purple_value_new(PURPLE_TYPE_STRING), |
298 purple_value_new(PURPLE_TYPE_STRING)); | 298 NULL); |
299 types = g_list_prepend(types, type); | 299 types = g_list_prepend(types, type); |
300 | 300 |
301 type = purple_status_type_new(PURPLE_STATUS_OFFLINE, NULL_STATUS_OFFLINE, | 301 type = purple_status_type_new_with_attrs(PURPLE_STATUS_OFFLINE, |
302 NULL, TRUE); | 302 NULL_STATUS_OFFLINE, NULL, TRUE, TRUE, FALSE, |
303 purple_status_type_add_attr(type, "message", _("Message"), | 303 "message", _("Message"), purple_value_new(PURPLE_TYPE_STRING), |
304 purple_value_new(PURPLE_TYPE_STRING)); | 304 NULL); |
305 types = g_list_prepend(types, type); | 305 types = g_list_prepend(types, type); |
306 | 306 |
307 return g_list_reverse(types); | 307 return g_list_reverse(types); |
308 } | 308 } |
309 | 309 |