aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-31 07:46:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-31 07:46:32 +0800
commit207303df9e2464c379d3b6e63f388d58332a428a (patch)
treed0f8ee7c35b07a598f4e42843ebe64974e76f0b0 /mail/mail-callbacks.c
parente456a9a26422dcc2dcaa7dbc1fd1e392b80bb95a (diff)
downloadgsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.gz
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.bz2
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.lz
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.xz
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.zst
gsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.zip
Pass the parent window to mail_account_editor_new().
2002-01-30 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c6
1 files changed, 3 insertions, 3 deletions
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