From a06e4484b8df804124b5bcf88d94dec5acfba270 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 6 Oct 2010 23:38:52 -0400 Subject: Give MailSession a permanent home. Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession. --- filter/e-filter-int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filter/e-filter-int.h') diff --git a/filter/e-filter-int.h b/filter/e-filter-int.h index c9f613c9a3..be0aa4e65a 100644 --- a/filter/e-filter-int.h +++ b/filter/e-filter-int.h @@ -65,8 +65,8 @@ struct _EFilterIntClass { }; GType e_filter_int_get_type (void); -EFilterInt * e_filter_int_new (void); -EFilterInt * e_filter_int_new_type (const gchar *type, +EFilterElement *e_filter_int_new (void); +EFilterElement *e_filter_int_new_type (const gchar *type, gint min, gint max); void e_filter_int_set_value (EFilterInt *f_int, -- cgit v1.2.3