aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 09:36:04 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 09:36:04 +0800
commitfd564be3203400024147469faaa7de0884861566 (patch)
tree80e69ff89307a7393193520e0f2fe51cdc21540e /mail/mail-config.h
parent7ed5f59771262651ee8b0d29a123e43a6ac0b6c6 (diff)
downloadgsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.gz
gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.tar.zst
gsoc2013-evolution-fd564be3203400024147469faaa7de0884861566.zip
Clean up the EMFormat stack. Add some GObject properties to bind to.
Add some handy color conversion functions to e-util. svn path=/branches/kill-bonobo/; revision=37290
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h29
1 files changed, 5 insertions, 24 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 6c4683113f..9a3386dd1d 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -23,9 +23,8 @@
#ifndef MAIL_CONFIG_H
#define MAIL_CONFIG_H
-#include <glib.h>
#include <glib-object.h>
-
+#include <camel/camel-folder.h>
#include <camel/camel-provider.h>
struct _EAccount;
@@ -38,21 +37,7 @@ struct _ESignatureList;
struct _GConfClient;
struct _GtkWindow;
-struct _CamelFolder;
-
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
-
-typedef struct _MailConfigSignature {
- int id;
- char *name;
- char *filename;
- char *script;
- gboolean html;
-} MailConfigSignature;
-
+G_BEGIN_DECLS
typedef enum {
MAIL_CONFIG_HTTP_NEVER,
@@ -115,8 +100,8 @@ void mail_config_uri_renamed (GCompareFunc uri_cmp, const char *old, const char
void mail_config_uri_deleted (GCompareFunc uri_cmp, const char *uri);
/* static utility functions */
-char *mail_config_folder_to_cachename (struct _CamelFolder *folder, const char *prefix);
-char *mail_config_folder_to_safe_url (struct _CamelFolder *folder);
+char *mail_config_folder_to_cachename (CamelFolder *folder, const char *prefix);
+char *mail_config_folder_to_safe_url (CamelFolder *folder);
guint mail_config_get_error_timeout (void);
guint mail_config_get_error_level (void);
@@ -128,10 +113,6 @@ gboolean mail_config_get_lookup_book_local_only (void);
GType evolution_mail_config_get_type (void);
-gboolean evolution_mail_config_factory_init (void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* MAIL_CONFIG_H */