Mercurial > pidgin.yaz
comparison pidgin/gtkpounce.c @ 32767:2ec94166be43
On the way to hiding the PurpleConnection struct.
* Added purple_connection_get_flags() and purple_connection_set_flags()
* Use purple_connection_ accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 18 Oct 2011 18:47:48 +0000 |
parents | 10e5000326a5 |
children | b6276b10cb10 |
comparison
equal
deleted
inserted
replaced
32766:ea2b621fd3ba | 32767:2ec94166be43 |
---|---|
474 static void | 474 static void |
475 reset_send_msg_entry(PidginPounceDialog *dialog, GtkWidget *dontcare) | 475 reset_send_msg_entry(PidginPounceDialog *dialog, GtkWidget *dontcare) |
476 { | 476 { |
477 PurpleAccount *account = pidgin_account_option_menu_get_selected(dialog->account_menu); | 477 PurpleAccount *account = pidgin_account_option_menu_get_selected(dialog->account_menu); |
478 gtk_imhtml_setup_entry(GTK_IMHTML(dialog->send_msg_entry), | 478 gtk_imhtml_setup_entry(GTK_IMHTML(dialog->send_msg_entry), |
479 (account && purple_account_get_connection(account)) ? purple_account_get_connection(account)->flags : PURPLE_CONNECTION_HTML); | 479 (account && purple_account_get_connection(account)) ? purple_connection_get_flags(purple_account_get_connection(account)) : PURPLE_CONNECTION_HTML); |
480 } | 480 } |
481 | 481 |
482 void | 482 void |
483 pidgin_pounce_editor_show(PurpleAccount *account, const char *name, | 483 pidgin_pounce_editor_show(PurpleAccount *account, const char *name, |
484 PurplePounce *cur_pounce) | 484 PurplePounce *cur_pounce) |