aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-icon-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-attachment-icon-view.c')
-rw-r--r--widgets/misc/e-attachment-icon-view.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/widgets/misc/e-attachment-icon-view.c b/widgets/misc/e-attachment-icon-view.c
index 54bf9be9ed..5677370f0b 100644
--- a/widgets/misc/e-attachment-icon-view.c
+++ b/widgets/misc/e-attachment-icon-view.c
@@ -28,10 +28,6 @@
#include "e-attachment-store.h"
#include "e-attachment-view.h"
-#define E_ATTACHMENT_ICON_VIEW_GET_PRIVATE(obj) \
- (G_TYPE_INSTANCE_GET_PRIVATE \
- ((obj), E_TYPE_ATTACHMENT_ICON_VIEW, EAttachmentIconViewPrivate))
-
struct _EAttachmentIconViewPrivate {
EAttachmentViewPrivate view_priv;
};
@@ -348,7 +344,7 @@ attachment_icon_view_get_private (EAttachmentView *view)
{
EAttachmentIconViewPrivate *priv;
- priv = E_ATTACHMENT_ICON_VIEW_GET_PRIVATE (view);
+ priv = E_ATTACHMENT_ICON_VIEW (view)->priv;
return &priv->view_priv;
}
@@ -531,7 +527,7 @@ e_attachment_icon_view_class_init (EAttachmentIconViewClass *class)
static void
e_attachment_icon_view_init (EAttachmentIconView *icon_view)
{
- icon_view->priv = E_ATTACHMENT_ICON_VIEW_GET_PRIVATE (icon_view);
+ icon_view->priv = G_TYPE_INSTANCE_GET_PRIVATE (icon_view, E_TYPE_ATTACHMENT_ICON_VIEW, EAttachmentIconViewPrivate);
e_attachment_view_init (E_ATTACHMENT_VIEW (icon_view));