comparison pidgin/gtkaccount.c @ 20563:be996322b2c3

Fix #2426 - Switching from XMPP to Google Talk in the Add Account dialog doesn't work. I don't think this was a useful check, I don't think it should ever be hit legitimately.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 19 Sep 2007 22:21:22 +0000
parents 5dee4e3f09eb
children 591267f6f1d5 a7733677ee20
comparison
equal deleted inserted replaced
20562:9d812753d26a 20563:be996322b2c3
247 AccountPrefsDialog *dialog) 247 AccountPrefsDialog *dialog)
248 { 248 {
249 PurplePlugin *new_plugin; 249 PurplePlugin *new_plugin;
250 250
251 new_plugin = purple_find_prpl(id); 251 new_plugin = purple_find_prpl(id);
252
253 if (new_plugin == dialog->plugin)
254 return;
255 252
256 dialog->plugin = new_plugin; 253 dialog->plugin = new_plugin;
257 254
258 if (dialog->plugin != NULL) 255 if (dialog->plugin != NULL)
259 { 256 {