aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.h
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-account-editor.h
parente456a9a26422dcc2dcaa7dbc1fd1e392b80bb95a (diff)
downloadgsoc2013-evolution-207303df9e2464c379d3b6e63f388d58332a428a.tar.gz
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-account-editor.h')
-rw-r--r--mail/mail-account-editor.h3
1 files changed, 2 insertions, 1 deletions
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 <gtk/gtkwindow.h>
#include <libgnomeui/gnome-dialog.h>
#include <libgnomeui/gnome-file-entry.h>
#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
}