diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 03:26:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-19 03:26:21 +0800 |
commit | 547e123d2777bd3beba36e74e018efb590ed44d4 (patch) | |
tree | 447712a20cff8bc89e6d6c1d16f0d99b9c1122f5 /mail/em-folder-selector.h | |
parent | 67159043da2de9df576f6a4eaa245e0c3926f004 (diff) | |
download | gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.gz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.bz2 gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.lz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.xz gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.zst gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.zip |
Stop abusing forward declarations.
Diffstat (limited to 'mail/em-folder-selector.h')
-rw-r--r-- | mail/em-folder-selector.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/mail/em-folder-selector.h b/mail/em-folder-selector.h index 5ac7152d61..f358fc059d 100644 --- a/mail/em-folder-selector.h +++ b/mail/em-folder-selector.h @@ -26,17 +26,14 @@ #include <gtk/gtk.h> -#ifdef cplusplus -extern "C" { -#pragma } -#endif /* cplusplus */ - #define EM_TYPE_FOLDER_SELECTOR (em_folder_selector_get_type ()) #define EM_FOLDER_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EM_TYPE_FOLDER_SELECTOR, EMFolderSelector)) #define EM_FOLDER_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EM_TYPE_FOLDER_SELECTOR, EMFolderSelectorClass)) #define EM_IS_FOLDER_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EM_TYPE_FOLDER_SELECTOR)) #define EM_IS_FOLDER_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EM_TYPE_FOLDER_SELECTOR)) +G_BEGIN_DECLS + typedef struct _EMFolderSelector EMFolderSelector; typedef struct _EMFolderSelectorPrivate EMFolderSelectorPrivate; typedef struct _EMFolderSelectorClass EMFolderSelectorClass; @@ -47,7 +44,7 @@ struct _EMFolderSelector { guint32 flags; struct _EMFolderTree *emft; - struct _GtkEntry *name_entry; + GtkEntry *name_entry; gchar *selected_path; gchar *selected_uri; @@ -87,8 +84,6 @@ const gchar *em_folder_selector_get_selected_path (EMFolderSelector *emfs); GList *em_folder_selector_get_selected_uris (EMFolderSelector *emfs); GList *em_folder_selector_get_selected_paths (EMFolderSelector *emfs); -#ifdef cplusplus -} -#endif /* cplusplus */ +G_END_DECLS #endif /* EM_FOLDER_SELECTOR_H */ |