aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-rule-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/e-rule-context.c')
-rw-r--r--filter/e-rule-context.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/filter/e-rule-context.c b/filter/e-rule-context.c
index a167d01c5d..95ca9bbc7a 100644
--- a/filter/e-rule-context.c
+++ b/filter/e-rule-context.c
@@ -53,10 +53,6 @@
#include "e-filter-rule.h"
#include "e-rule-context.h"
-#define E_RULE_CONTEXT_GET_PRIVATE(obj) \
- (G_TYPE_INSTANCE_GET_PRIVATE \
- ((obj), E_TYPE_RULE_CONTEXT, ERuleContextPrivate))
-
struct _ERuleContextPrivate {
gint frozen;
};
@@ -518,7 +514,7 @@ e_rule_context_class_init (ERuleContextClass *class)
static void
e_rule_context_init (ERuleContext *context)
{
- context->priv = E_RULE_CONTEXT_GET_PRIVATE (context);
+ context->priv = G_TYPE_INSTANCE_GET_PRIVATE (context, E_TYPE_RULE_CONTEXT, ERuleContextPrivate);
context->part_set_map = g_hash_table_new (g_str_hash, g_str_equal);
context->rule_set_map = g_hash_table_new (g_str_hash, g_str_equal);