aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-14 05:12:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-14 05:12:16 +0800
commitf3f1cba62efee52c0162450f0566619dd15463cb (patch)
treefb39ed7733cc33c24409ecc160f220845380e1e8
parenta9a42c8c70157749e0b1d3575aaebd5ad3b36074 (diff)
downloadgsoc2013-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
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-accounts.c9
2 files changed, 9 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9c90b07efc..c126111fa9 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-13 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-accounts.c: Build fixes for --enable-nntp.
+
2002-04-13 Christophe Merlet <redfox@eikonex.org>
* mail-config.glade: Little typo. s/IS0/ISO/
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 */
}