diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 03:26:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 04:01:29 +0800 |
commit | c0d998229d5a3d2b65445b9025de7b23112f4063 (patch) | |
tree | 49f0f2e6e7da31967cf412cbd98c92f5a7856765 /plugins/groupwise-features | |
parent | 00d56cd32c5d0a7f49567d5241ba0d6fd80940bb (diff) | |
download | gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.gz gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.bz2 gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.lz gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.xz gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.tar.zst gsoc2013-evolution-c0d998229d5a3d2b65445b9025de7b23112f4063.zip |
Stop abusing forward declarations.
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r-- | plugins/groupwise-features/junk-settings.h | 44 | ||||
-rw-r--r-- | plugins/groupwise-features/share-folder.h | 50 |
2 files changed, 33 insertions, 61 deletions
diff --git a/plugins/groupwise-features/junk-settings.h b/plugins/groupwise-features/junk-settings.h index fd728cbb21..3216ed9d9b 100644 --- a/plugins/groupwise-features/junk-settings.h +++ b/plugins/groupwise-features/junk-settings.h @@ -39,41 +39,27 @@ G_BEGIN_DECLS typedef struct _JunkSettings JunkSettings; typedef struct _JunkSettingsClass JunkSettingsClass; -struct _GtkWidget; -struct _GladeXML; -struct _GtkButton; -struct _GtkTreeView; -struct _GtkLabel; -struct _GtkEntry; -struct _GtkWindow; -struct _GtkRadioButton; -struct _GtkListStore; -struct _GtkCellRenderer; -struct _GtkTreeViewColumn; -struct _GtkFrame; -struct _GtkVBox; - struct _JunkSettings { GtkVBox parent_object; - struct _GladeXML *xml; + GladeXML *xml; /* General tab */ /* Default Behavior */ - struct _GtkTreeView *entry_list; - struct _GtkButton *add_button; - struct _GtkButton *remove; - struct _GtkEntry *entry; - struct _GtkRadioButton *enable; - struct _GtkRadioButton *disable; - struct _GtkWidget *scrolled_window; - struct _GtkListStore *model; - struct _GtkCellRenderer *cell; - struct _GtkTreeViewColumn *column; - struct _GtkVBox *vbox; - struct _GtkVBox *table; - struct _GtkWidget *window; + GtkTreeView *entry_list; + GtkButton *add_button; + GtkButton *remove; + GtkEntry *entry; + GtkRadioButton *enable; + GtkRadioButton *disable; + GtkWidget *scrolled_window; + GtkListStore *model; + GtkCellRenderer *cell; + GtkTreeViewColumn *column; + GtkVBox *vbox; + GtkVBox *table; + GtkWidget *window; GList *junk_list; gint users; @@ -89,7 +75,7 @@ struct _JunkSettingsClass { }; GType junk_settings_get_type (void); -struct _JunkSettings * junk_settings_new (EGwConnection *ccnc); +JunkSettings * junk_settings_new (EGwConnection *ccnc); void commit_changes (JunkSettings *js); G_END_DECLS diff --git a/plugins/groupwise-features/share-folder.h b/plugins/groupwise-features/share-folder.h index d95d9732a4..5108d02c19 100644 --- a/plugins/groupwise-features/share-folder.h +++ b/plugins/groupwise-features/share-folder.h @@ -40,45 +40,31 @@ G_BEGIN_DECLS typedef struct _ShareFolder ShareFolder; typedef struct _ShareFolderClass ShareFolderClass; -struct _GtkWidget; -struct _GladeXML; -struct _GtkButton; -struct _GtkTreeView; -struct _GtkLabel; -struct _GtkEntry; -struct _GtkWindow; -struct _GtkRadioButton; -struct _GtkListStore; -struct _GtkCellRenderer; -struct _GtkTreeViewColumn; -struct _GtkFrame; -struct _GtkVBox; - struct _ShareFolder { GtkVBox parent_object; - struct _GladeXML *xml; + GladeXML *xml; /* General tab */ /* Default Behavior */ - struct _GtkTreeView *user_list; - struct _GtkTextView *message; - struct _GtkButton *add_button; - struct _GtkButton *remove; - struct _GtkButton *add_book; - struct _GtkButton *notification; - struct _GtkEntry *name; - struct _GtkEntry *subject; - struct _GtkRadioButton *shared; - struct _GtkRadioButton *not_shared; - struct _GtkWidget *scrolled_window; - struct _GtkListStore *model; - struct _GtkCellRenderer *cell; - struct _GtkTreeViewColumn *column; - struct _GtkVBox *vbox; - struct _GtkVBox *table; - struct _GtkWidget *window; + GtkTreeView *user_list; + GtkTextView *message; + GtkButton *add_button; + GtkButton *remove; + GtkButton *add_book; + GtkButton *notification; + GtkEntry *name; + GtkEntry *subject; + GtkRadioButton *shared; + GtkRadioButton *not_shared; + GtkWidget *scrolled_window; + GtkListStore *model; + GtkCellRenderer *cell; + GtkTreeViewColumn *column; + GtkVBox *vbox; + GtkVBox *table; + GtkWidget *window; GList *users_list; EGwContainer *gcontainer; |