Mercurial > pidgin.yaz
comparison src/gtkaccount.c @ 6334:930708df05dd
[gaim-migrate @ 6833]
When I got back from swimming, I found a bunch of IMs and chat requests
from some annoying user who kept asking if I was dumb or dead. I decided to
block this user, but realized just how ugly the dialog for doing so is. So,
I rewrote it. Now I can block him in peace.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 30 Jul 2003 01:45:31 +0000 |
parents | 254bb94a216e |
children | f63da9023c99 |
comparison
equal
deleted
inserted
replaced
6333:e06e04e44914 | 6334:930708df05dd |
---|---|
176 set_account_protocol_cb(GtkWidget *item, GaimProtocol protocol, | 176 set_account_protocol_cb(GtkWidget *item, GaimProtocol protocol, |
177 AccountPrefsDialog *dialog) | 177 AccountPrefsDialog *dialog) |
178 { | 178 { |
179 if ((dialog->plugin = gaim_find_prpl(protocol)) != NULL) { | 179 if ((dialog->plugin = gaim_find_prpl(protocol)) != NULL) { |
180 dialog->prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(dialog->plugin); | 180 dialog->prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(dialog->plugin); |
181 dialog->protocol = dialog->prpl_info->protocol; | 181 dialog->protocol = dialog->prpl_info->protocol; |
182 | 182 |
183 if (dialog->protocol_id != NULL) | 183 if (dialog->protocol_id != NULL) |
184 g_free(dialog->protocol_id); | 184 g_free(dialog->protocol_id); |
185 | 185 |
186 dialog->protocol_id = g_strdup(dialog->plugin->info->id); | 186 dialog->protocol_id = g_strdup(dialog->plugin->info->id); |