From 03ca12814b49f7f7999c635d7449dabce0b145b5 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 23 May 2009 22:13:47 -0400 Subject: =?UTF-8?q?Bug=20583339=20=E2=80=93=20Edit->Preferences->Mail=20Ac?= =?UTF-8?q?counts=20inconsistent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail/em-account-prefs.h | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) (limited to 'mail/em-account-prefs.h') diff --git a/mail/em-account-prefs.h b/mail/em-account-prefs.h index c3932aefc9..4c02d716b8 100644 --- a/mail/em-account-prefs.h +++ b/mail/em-account-prefs.h @@ -1,4 +1,5 @@ /* + * em-account-prefs.h * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -14,9 +15,6 @@ * License along with the program; if not, see * * - * Authors: - * Jeffrey Stedfast - * * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) * */ @@ -25,8 +23,9 @@ #define EM_ACCOUNT_PREFS_H #include -#include #include +#include +#include /* Standard GObject macros */ #define EM_TYPE_ACCOUNT_PREFS \ @@ -51,32 +50,19 @@ G_BEGIN_DECLS typedef struct _EMAccountPrefs EMAccountPrefs; typedef struct _EMAccountPrefsClass EMAccountPrefsClass; +typedef struct _EMAccountPrefsPrivate EMAccountPrefsPrivate; struct _EMAccountPrefs { - GtkVBox parent_object; - - GladeXML *gui; - - GtkWidget *druid; - GtkWidget *editor; - - GtkTreeView *table; - - GtkButton *mail_add; - GtkButton *mail_edit; - GtkButton *mail_delete; - GtkButton *mail_default; - - guint destroyed : 1; - guint changed : 1; + EAccountManager parent; + EMAccountPrefsPrivate *priv; }; struct _EMAccountPrefsClass { - GtkVBoxClass parent_class; + EAccountManagerClass parent_class; }; GType em_account_prefs_get_type (void); -GtkWidget * em_account_prefs_new (void); +GtkWidget * em_account_prefs_new (EAccountList *account_list); G_END_DECLS -- cgit v1.2.3