comparison libpurple/protocols/sametime/sametime.c @ 25926: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 43b721aa4b76
children ff4212a5268f
comparison
equal deleted inserted replaced
25925:6e1967b0f90b 25926:2d4f0dd04334
3348 purple_notify_user_info_add_pair(user_info, NULL, _("External User")); 3348 purple_notify_user_info_add_pair(user_info, NULL, _("External User"));
3349 } 3349 }
3350 } 3350 }
3351 } 3351 }
3352 3352
3353 3353 static GList *mw_prpl_status_types(PurpleAccount *acct)
3354 static GList *mw_prpl_status_types(PurpleAccount *acct) { 3354 {
3355 GList *types = NULL; 3355 GList *types = NULL;
3356 PurpleStatusType *type; 3356 PurpleStatusType *type;
3357 3357
3358 type = purple_status_type_new(PURPLE_STATUS_AVAILABLE, MW_STATE_ACTIVE, 3358 type = purple_status_type_new_with_attrs(PURPLE_STATUS_AVAILABLE,
3359 NULL, TRUE); 3359 MW_STATE_ACTIVE, NULL, TRUE, TRUE, FALSE,
3360 purple_status_type_add_attr(type, MW_STATE_MESSAGE, _("Message"), 3360 MW_STATE_MESSAGE, _("Message"), purple_value_new(PURPLE_TYPE_STRING),
3361 purple_value_new(PURPLE_TYPE_STRING)); 3361 NULL);
3362 types = g_list_append(types, type); 3362 types = g_list_append(types, type);
3363 3363
3364 type = purple_status_type_new(PURPLE_STATUS_AWAY, MW_STATE_AWAY, 3364 type = purple_status_type_new_with_attrs(PURPLE_STATUS_AWAY,
3365 NULL, TRUE); 3365 MW_STATE_AWAY, NULL, TRUE, TRUE, FALSE,
3366 purple_status_type_add_attr(type, MW_STATE_MESSAGE, _("Message"), 3366 MW_STATE_MESSAGE, _("Message"), purple_value_new(PURPLE_TYPE_STRING),
3367 purple_value_new(PURPLE_TYPE_STRING)); 3367 NULL);
3368 types = g_list_append(types, type); 3368 types = g_list_append(types, type);
3369 3369
3370 type = purple_status_type_new(PURPLE_STATUS_UNAVAILABLE, MW_STATE_BUSY, 3370 type = purple_status_type_new_with_attrs(PURPLE_STATUS_UNAVAILABLE,
3371 _("Do Not Disturb"), TRUE); 3371 MW_STATE_BUSY, _("Do Not Disturb"), TRUE, TRUE, FALSE,
3372 purple_status_type_add_attr(type, MW_STATE_MESSAGE, _("Message"), 3372 MW_STATE_MESSAGE, _("Message"), purple_value_new(PURPLE_TYPE_STRING),
3373 purple_value_new(PURPLE_TYPE_STRING)); 3373 NULL);
3374 types = g_list_append(types, type); 3374 types = g_list_append(types, type);
3375 3375
3376 type = purple_status_type_new(PURPLE_STATUS_OFFLINE, MW_STATE_OFFLINE, 3376 type = purple_status_type_new_full(PURPLE_STATUS_OFFLINE,
3377 NULL, TRUE); 3377 MW_STATE_OFFLINE, NULL, TRUE, TRUE, FALSE);
3378 types = g_list_append(types, type); 3378 types = g_list_append(types, type);
3379 3379
3380 return types; 3380 return types;
3381 } 3381 }
3382 3382
3383 3383
3384 static void conf_create_prompt_cancel(PurpleBuddy *buddy, 3384 static void conf_create_prompt_cancel(PurpleBuddy *buddy,
3385 PurpleRequestFields *fields) { 3385 PurpleRequestFields *fields) {