From 207303df9e2464c379d3b6e63f388d58332a428a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 30 Jan 2002 23:46:32 +0000 Subject: Pass the parent window to mail_account_editor_new(). 2002-01-30 Jeffrey Stedfast * mail-accounts.c (mail_edit): Pass the parent window to mail_account_editor_new(). * mail-account-editor.c (mail_account_editor_new): Set the parent window here because construct() inadvertantly gtk_widget_show_all's the editor. * mail-account-gui.c (mail_account_gui_save): Use g_basename() rather than strrchr for '/' especially since the strrchr code wasn't doing any NULL checks. svn path=/trunk/; revision=15533 --- mail/mail-callbacks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/mail-callbacks.c') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index bd1a243a22..463c435369 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -696,8 +696,8 @@ composer_save_draft_cb (EMsgComposer *composer, int quit, gpointer data) static GtkWidget * create_msg_composer (const MailConfigAccount *account, const char *url) { - gboolean send_html; EMsgComposer *composer; + gboolean send_html; /* Make sure that we've actually been passed in an account. If one has * not been passed in, grab the default account. @@ -722,7 +722,7 @@ create_msg_composer (const MailConfigAccount *account, const char *url) void compose_msg (GtkWidget *widget, gpointer user_data) { - MailConfigAccount *account; + const MailConfigAccount *account; FolderBrowser *fb = FOLDER_BROWSER (user_data); GtkWidget *composer; @@ -1624,7 +1624,7 @@ thread_select_foreach (ETreePath path, gpointer user_data) thread_select_info_t *tsi = (thread_select_info_t *) user_data; ETreeModel *tm = tsi->ml->model; ETreePath node; - + /* @path part of the initial selection. If it has children, * we select them as well. If it doesn't, we select its siblings and * their children (ie, the current node must be inside the thread -- cgit v1.2.3