aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-label-action.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-25 23:20:41 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:39 +0800
commitc003c99a75587ba39a45d164272760c33f9666b5 (patch)
treead6d0583fa9e8f078fb1c118f994371d2f1f79d8 /mail/e-mail-label-action.c
parentf55aaa5e00a40a137f403a8d5c68dd508059b0b4 (diff)
downloadgsoc2013-evolution-c003c99a75587ba39a45d164272760c33f9666b5.tar.gz
gsoc2013-evolution-c003c99a75587ba39a45d164272760c33f9666b5.tar.zst
gsoc2013-evolution-c003c99a75587ba39a45d164272760c33f9666b5.zip
Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly
Diffstat (limited to 'mail/e-mail-label-action.c')
-rw-r--r--mail/e-mail-label-action.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mail/e-mail-label-action.c b/mail/e-mail-label-action.c
index b7487fc047..c7cf71a655 100644
--- a/mail/e-mail-label-action.c
+++ b/mail/e-mail-label-action.c
@@ -21,10 +21,6 @@
#include "e-mail-label-action.h"
-#define E_MAIL_LABEL_ACTION_GET_PRIVATE(obj) \
- (G_TYPE_INSTANCE_GET_PRIVATE \
- ((obj), E_TYPE_MAIL_LABEL_ACTION, EMailLabelActionPrivate))
-
struct _EMailLabelActionPrivate {
gint placeholder;
};
@@ -106,7 +102,7 @@ mail_label_action_class_init (EMailLabelActionClass *class)
static void
mail_label_action_init (EMailLabelAction *action)
{
- action->priv = E_MAIL_LABEL_ACTION_GET_PRIVATE (action);
+ action->priv = G_TYPE_INSTANCE_GET_PRIVATE (action, E_TYPE_MAIL_LABEL_ACTION, EMailLabelActionPrivate);
}
GType