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-account-editor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-account-editor.h') diff --git a/mail/mail-account-editor.h b/mail/mail-account-editor.h index 71be3b14d5..22e4158b95 100644 --- a/mail/mail-account-editor.h +++ b/mail/mail-account-editor.h @@ -28,6 +28,7 @@ extern "C" { #pragma } #endif /* __cplusplus */ +#include #include #include #include "mail-account-gui.h" @@ -56,7 +57,7 @@ typedef struct { GtkType mail_account_editor_get_type (void); -MailAccountEditor *mail_account_editor_new (MailConfigAccount *account); +MailAccountEditor *mail_account_editor_new (MailConfigAccount *account, GtkWindow *parent); #ifdef __cplusplus } -- cgit v1.2.3