aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-03-19 12:09:55 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-03-19 12:09:55 +0800
commitd29f83381b28408b614e2073ffd31fba0f98c400 (patch)
tree7b538c4d1e103938643b121c1d3cc8179f2c0602 /mail/em-folder-view.h
parentfce544011db8bc184f2dce759693649086ea5620 (diff)
downloadgsoc2013-evolution-d29f83381b28408b614e2073ffd31fba0f98c400.tar.gz
gsoc2013-evolution-d29f83381b28408b614e2073ffd31fba0f98c400.tar.zst
gsoc2013-evolution-d29f83381b28408b614e2073ffd31fba0f98c400.zip
Code cleanup, no logic changes.
2008-03-19 Matthew Barnes <mbarnes@redhat.com> * em-folder-view.h: * em-message-browser.h: * em-message-browser.c: Code cleanup, no logic changes. svn path=/trunk/; revision=35214
Diffstat (limited to 'mail/em-folder-view.h')
-rw-r--r--mail/em-folder-view.h37
1 files changed, 24 insertions, 13 deletions
diff --git a/mail/em-folder-view.h b/mail/em-folder-view.h
index 82032477dd..e081eb586d 100644
--- a/mail/em-folder-view.h
+++ b/mail/em-folder-view.h
@@ -20,26 +20,39 @@
*
*/
-
-#ifndef _EM_FOLDER_VIEW_H
-#define _EM_FOLDER_VIEW_H
+#ifndef EM_FOLDER_VIEW_H
+#define EM_FOLDER_VIEW_H
#include <gtk/gtkvbox.h>
#include <gtk/gtkprintoperation.h>
#include "mail/em-popup.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+/* Standard GObject macros */
+#define EM_TYPE_FOLDER_VIEW \
+ (em_folder_view_get_type ())
+#define EM_FOLDER_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), EM_TYPE_FOLDER_VIEW, EMFolderView))
+#define EM_FOLDER_VIEW_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), EM_TYPE_FOLDER_VIEW, EMFolderViewClass))
+#define EM_IS_FOLDER_VIEW(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), EM_TYPE_FOLDER_VIEW))
+#define EM_IS_FOLDER_VIEW_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), EM_TYPE_FOLDER_VIEW))
+#define EM_FOLDER_VIEW_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), EM_TYPE_FOLDER_VIEW, EMFolderViewClass))
+
+G_BEGIN_DECLS
struct _MessageList;
struct _EMFormatHTMLDisplay;
struct _CamelFolder;
struct _CamelMedium;
-#define EM_FOLDER_VIEW_GET_CLASS(emfv) ((EMFolderViewClass *) G_OBJECT_GET_CLASS (emfv))
-
typedef struct _EMFolderView EMFolderView;
typedef struct _EMFolderViewClass EMFolderViewClass;
@@ -142,8 +155,6 @@ void em_folder_view_set_statusbar(EMFolderView *emfv, gboolean statusbar);
void em_folder_view_set_hide_deleted(EMFolderView *emfv, gboolean status);
void em_folder_view_setup_view_instance (EMFolderView *emfv);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
-#endif /* ! _EM_FOLDER_VIEW_H */
+#endif /* EM_FOLDER_VIEW_H */