diff options
Diffstat (limited to 'mail/em-search-context.c')
-rw-r--r-- | mail/em-search-context.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-search-context.c b/mail/em-search-context.c index caed0bdc99..48320d2b2c 100644 --- a/mail/em-search-context.c +++ b/mail/em-search-context.c @@ -45,7 +45,7 @@ static void em_search_context_class_init (EMSearchContextClass *klass) { parent_class = g_type_class_ref (RULE_TYPE_CONTEXT); - + ((GObjectClass *)klass)->finalize = em_search_context_finalise; ((RuleContextClass *)klass)->new_element = em_search_new_element; } @@ -55,7 +55,7 @@ em_search_context_init (EMSearchContext *vc) { rule_context_add_part_set ((RuleContext *)vc, "partset", filter_part_get_type (), rule_context_add_part, rule_context_next_part); - + rule_context_add_rule_set ((RuleContext *)vc, "ruleset", filter_rule_get_type (), rule_context_add_rule, rule_context_next_rule); @@ -66,7 +66,7 @@ GType em_search_context_get_type (void) { static GType type = 0; - + if (!type) { static const GTypeInfo info = { sizeof (EMSearchContextClass), @@ -79,10 +79,10 @@ em_search_context_get_type (void) 0, /* n_preallocs */ (GInstanceInitFunc) em_search_context_init, }; - + type = g_type_register_static (RULE_TYPE_CONTEXT, "EMSearchContext", &info, 0); } - + return type; } @@ -90,7 +90,7 @@ em_search_context_get_type (void) * em_search_context_new: * * Create a new EMSearchContext object. - * + * * Return value: A new #EMSearchContext object. **/ EMSearchContext * |