Mercurial > pidgin.yaz
diff src/protocols/gg/gg.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 | 6faeeecab0dc |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Tue Sep 30 06:43:17 2003 +0000 +++ b/src/protocols/gg/gg.c Tue Sep 30 07:47:38 2003 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 7626 2003-09-30 06:43:17Z chipx86 $ + * $Id: gg.c 7627 2003-09-30 07:47:38Z chipx86 $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -34,9 +34,6 @@ #include "server.h" #include "util.h" -#warning Replace show_change_passwd and remove #include <gaim.h> -#include "gaim.h" - #define GG_CONNECT_STEPS 5 #define AGG_BUF_LEN 1024 @@ -728,6 +725,12 @@ g_free(buf); } +static void +change_pass(GaimConnection *gc) +{ + gaim_account_request_change_password(gaim_connection_get_account(gc)); +} + static void import_buddies_server_results(GaimConnection *gc, gchar *webdata) { gchar *ptr; @@ -1199,7 +1202,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);