| 196 |
196 |
| 197 gtk_window_destroy(GTK_WINDOW(abdialog)); |
197 gtk_window_destroy(GTK_WINDOW(abdialog)); |
| 198 } |
198 } |
| 199 |
199 |
| 200 static void |
200 static void |
| 201 pidgin_add_buddy_dialog_account_changed_cb(GtkComboBox *widget, gpointer data) { |
201 pidgin_add_buddy_dialog_account_changed_cb(GObject *obj, |
| |
202 G_GNUC_UNUSED GParamSpec *pspec, |
| |
203 gpointer data) |
| |
204 { |
| 202 PidginAddBuddyDialog *dialog = data; |
205 PidginAddBuddyDialog *dialog = data; |
| 203 PurpleAccount *account = NULL; |
206 PurpleAccount *account = NULL; |
| 204 gboolean message_sensitive = TRUE; |
207 gboolean message_sensitive = TRUE; |
| 205 |
208 |
| 206 account = pidgin_account_chooser_get_selected(PIDGIN_ACCOUNT_CHOOSER(widget)); |
209 account = pidgin_account_chooser_get_selected(PIDGIN_ACCOUNT_CHOOSER(obj)); |
| 207 |
210 |
| 208 if(PURPLE_IS_ACCOUNT(account)) { |
211 if(PURPLE_IS_ACCOUNT(account)) { |
| 209 PurpleProtocol *protocol = purple_account_get_protocol(account); |
212 PurpleProtocol *protocol = purple_account_get_protocol(account); |
| 210 |
213 |
| 211 if(PURPLE_IS_PROTOCOL(protocol)) { |
214 if(PURPLE_IS_PROTOCOL(protocol)) { |