From 5eb12906c4242a576ad6fac4d229f096d3aab17a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 10 May 2009 13:18:28 -0400 Subject: 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. --- mail/e-mail-shell-view.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'mail/e-mail-shell-view.h') 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 -#include -#include - /* 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); -- cgit v1.2.3