src/account.c

changeset 12285
5a0f4619b0c5
parent 12088
ac4a09f8cfcb
child 12286
08d994091c36
--- a/src/account.c	Thu Dec 01 19:55:35 2005 +0000
+++ b/src/account.c	Thu Dec 01 20:09:27 2005 +0000
@@ -1045,6 +1045,22 @@
 		ui_ops->notify_added(account, remote_user, id, alias, message);
 }
 
+void
+gaim_account_request_add(GaimAccount *account, const char *remote_user,
+                         const char *id, const char *alias,
+                         const char *message)
+{
+	GaimAccountUiOps *ui_ops;
+
+	g_return_if_fail(account     != NULL);
+	g_return_if_fail(remote_user != NULL);
+
+	ui_ops = gaim_accounts_get_ui_ops();
+
+	if (ui_ops != NULL && ui_ops->request_add != NULL)
+		ui_ops->request_add(account, remote_user, id, alias, message);
+}
+
 static void
 change_password_cb(GaimAccount *account, GaimRequestFields *fields)
 {

mercurial