diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-04-14 05:12:16 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-04-14 05:12:16 +0800 |
commit | f3f1cba62efee52c0162450f0566619dd15463cb (patch) | |
tree | fb39ed7733cc33c24409ecc160f220845380e1e8 /mail/mail-accounts.c | |
parent | a9a42c8c70157749e0b1d3575aaebd5ad3b36074 (diff) | |
download | gsoc2013-evolution-f3f1cba62efee52c0162450f0566619dd15463cb.tar.gz gsoc2013-evolution-f3f1cba62efee52c0162450f0566619dd15463cb.tar.zst gsoc2013-evolution-f3f1cba62efee52c0162450f0566619dd15463cb.zip |
Build fixes for --enable-nntp.
2002-04-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c: Build fixes for --enable-nntp.
svn path=/trunk/; revision=16459
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r-- | mail/mail-accounts.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index f886104615..ce3dbde470 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -42,6 +42,7 @@ #include "mail-config.h" #include "mail-config-druid.h" #include "mail-account-editor.h" +#include "mail-account-editor-news.h" #include "mail-send-recv.h" #include "art/mail-new.xpm" @@ -469,7 +470,7 @@ load_news (MailAccountsTab *prefs) gtk_clist_clear (prefs->news); - node = mail_config_get_news_sources (); + node = mail_config_get_news (); while (node) { CamelURL *url; @@ -515,7 +516,7 @@ news_select_row (GtkCList *clist, int row, int column, GdkEventButton *event, gp static void news_unselect_row (GtkCList *clist, int row, int column, GdkEventButton *event, gpointer user_data) { - MailAccountsTab *prefs = data; + MailAccountsTab *prefs = user_data; prefs->news_row = -1; gtk_widget_set_sensitive (GTK_WIDGET (prefs->news_edit), FALSE); @@ -800,7 +801,7 @@ mail_accounts_tab_construct (MailAccountsTab *prefs) gtk_signal_connect (GTK_OBJECT (prefs->mail_able), "clicked", account_able_clicked, prefs); -#ifdef ENABLE_NEWS +#ifdef ENABLE_NNTP prefs->news = GTK_CLIST (gtk_object_get_data (GTK_OBJECT (widget), "clistNews")); gtk_signal_connect (GTK_OBJECT (prefs->news), "select-row", news_select_row, prefs); @@ -820,7 +821,7 @@ mail_accounts_tab_construct (MailAccountsTab *prefs) prefs->mail_delete = GTK_BUTTON (glade_xml_get_widget (gui, "cmdNewsDelete")); gtk_signal_connect (GTK_OBJECT (prefs->news_delete), "clicked", news_delete_clicked, prefs); -#endif +#endif /* ENABLE_NNTP */ } |