diff src/protocols/toc/toc.c @ 7063:7fdac700deb1

[gaim-migrate @ 7627] show_change_pass, or whatever it was called, is now core/UI split. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 07:47:38 +0000
parents 86ed8b2aa665
children 71e0da45abe6
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Tue Sep 30 06:43:17 2003 +0000
+++ b/src/protocols/toc/toc.c	Tue Sep 30 07:47:38 2003 +0000
@@ -1514,6 +1514,12 @@
 	return g_list_append(NULL, GAIM_AWAY_CUSTOM);
 }
 
+static void
+change_pass(GaimConnection *gc)
+{
+	gaim_account_request_change_password(gaim_connection_get_account(gc));
+}
+
 static GList *toc_actions(GaimConnection *gc)
 {
 	GList *m = NULL;
@@ -1533,7 +1539,7 @@
 
 	pam = g_new0(struct proto_actions_menu, 1);
 	pam->label = _("Change Password");
-	pam->callback = show_change_passwd;
+	pam->callback = change_pass;
 	pam->gc = gc;
 	m = g_list_append(m, pam);