aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-shell-view.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-11 01:18:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-11 01:18:28 +0800
commit5eb12906c4242a576ad6fac4d229f096d3aab17a (patch)
tree7c09011257167be9c0f456a7c19c21298469ea82 /mail/e-mail-shell-view.h
parent92e942499bffca812dcbc229f6c88ebb640e403a (diff)
downloadgsoc2013-evolution-5eb12906c4242a576ad6fac4d229f096d3aab17a.tar
gsoc2013-evolution-5eb12906c4242a576ad6fac4d229f096d3aab17a.tar.gz
gsoc2013-evolution-5eb12906c4242a576ad6fac4d229f096d3aab17a.tar.bz2
gsoc2013-evolution-5eb12906c4242a576ad6fac4d229f096d3aab17a.tar.lz
gsoc2013-evolution-5eb12906c4242a576ad6fac4d229f096d3aab17a.tar.xz
gsoc2013-evolution-5eb12906c4242a576ad6fac4d229f096d3aab17a.tar.zst
gsoc2013-evolution-5eb12906c4242a576ad6fac4d229f096d3aab17a.zip
Use the proper idiom for loading types in a GTypeModule.
Also, combine calendar, memo, and task backends into a single module, similar to how it worked under Bonobo.
Diffstat (limited to 'mail/e-mail-shell-view.h')
-rw-r--r--mail/e-mail-shell-view.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/e-mail-shell-view.h b/mail/e-mail-shell-view.h
index 2c5a3642ab..2bc769557c 100644
--- a/mail/e-mail-shell-view.h
+++ b/mail/e-mail-shell-view.h
@@ -24,12 +24,9 @@
#include <shell/e-shell-view.h>
-#include <e-mail-shell-content.h>
-#include <e-mail-shell-sidebar.h>
-
/* Standard GObject macros */
#define E_TYPE_MAIL_SHELL_VIEW \
- (e_mail_shell_view_type)
+ (e_mail_shell_view_get_type ())
#define E_MAIL_SHELL_VIEW(obj) \
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), E_TYPE_MAIL_SHELL_VIEW, EMailShellView))
@@ -48,8 +45,6 @@
G_BEGIN_DECLS
-extern GType e_mail_shell_view_type;
-
typedef struct _EMailShellView EMailShellView;
typedef struct _EMailShellViewClass EMailShellViewClass;
typedef struct _EMailShellViewPrivate EMailShellViewPrivate;
@@ -63,7 +58,8 @@ struct _EMailShellViewClass {
EShellViewClass parent_class;
};
-GType e_mail_shell_view_get_type
+GType e_mail_shell_view_get_type (void);
+void e_mail_shell_view_register_type
(GTypeModule *type_module);
gboolean e_mail_shell_view_get_show_deleted
(EMailShellView *mail_shell_view);