pidgin/pidginaddchatdialog.c

changeset 41854
c1d7e7445b0f
parent 41629
f617ffec2950
child 41860
9315e7772780
equal deleted inserted replaced
41853:d5fe1ee0efae 41854:c1d7e7445b0f
314 gtk_window_destroy(GTK_WINDOW(dialog)); 314 gtk_window_destroy(GTK_WINDOW(dialog));
315 } 315 }
316 } 316 }
317 317
318 static void 318 static void
319 pidgin_add_chat_dialog_account_changed_cb(GtkComboBox *widget, gpointer data) { 319 pidgin_add_chat_dialog_account_changed_cb(GObject *obj,
320 G_GNUC_UNUSED GParamSpec *pspec,
321 gpointer data)
322 {
320 PidginAddChatDialog *dialog = data; 323 PidginAddChatDialog *dialog = data;
321 PurpleAccount *account = NULL; 324 PurpleAccount *account = NULL;
322 325
323 account = pidgin_account_chooser_get_selected(PIDGIN_ACCOUNT_CHOOSER(widget)); 326 account = pidgin_account_chooser_get_selected(PIDGIN_ACCOUNT_CHOOSER(obj));
324 327
325 if(PURPLE_IS_ACCOUNT(account)) { 328 if(PURPLE_IS_ACCOUNT(account)) {
326 PurpleProtocol *protocol = purple_account_get_protocol(account); 329 PurpleProtocol *protocol = purple_account_get_protocol(account);
327 330
328 if(PURPLE_IS_PROTOCOL(protocol)) { 331 if(PURPLE_IS_PROTOCOL(protocol)) {

mercurial