aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-view.c')
-rw-r--r--mail/e-mail-view.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mail/e-mail-view.c b/mail/e-mail-view.c
index 62e0b0c733..0db537bd02 100644
--- a/mail/e-mail-view.c
+++ b/mail/e-mail-view.c
@@ -28,10 +28,6 @@
#include <glib/gi18n-lib.h>
-#define E_MAIL_VIEW_GET_PRIVATE(obj) \
- (G_TYPE_INSTANCE_GET_PRIVATE \
- ((obj), E_TYPE_MAIL_VIEW, EMailViewPrivate))
-
struct _EMailViewPrivate {
EShellView *shell_view;
GtkOrientation orientation;
@@ -158,7 +154,7 @@ mail_view_dispose (GObject *object)
{
EMailViewPrivate *priv;
- priv = E_MAIL_VIEW_GET_PRIVATE (object);
+ priv = E_MAIL_VIEW (object)->priv;
if (priv->shell_view != NULL) {
g_object_unref (priv->shell_view);
@@ -323,7 +319,7 @@ e_mail_view_class_init (EMailViewClass *class)
static void
e_mail_view_init (EMailView *view)
{
- view->priv = E_MAIL_VIEW_GET_PRIVATE (view);
+ view->priv = G_TYPE_INSTANCE_GET_PRIVATE (view, E_TYPE_MAIL_VIEW, EMailViewPrivate);
}
EShellView *