diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
commit | 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch) | |
tree | 4133b1adfd94d8f889ca7ad4ad851346518f4171 /mail/mail-config.h | |
parent | cc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff) | |
download | gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip |
Prefer GLib basic types over C types.
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r-- | mail/mail-config.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h index 87628dcfcb..1026927b8c 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -81,27 +81,27 @@ void mail_config_write_on_exit (void); struct _GConfClient *mail_config_get_gconf_client (void); /* General Accessor functions */ -const char **mail_config_get_allowable_mime_types (void); +const gchar **mail_config_get_allowable_mime_types (void); void mail_config_service_set_save_passwd (struct _EAccountService *service, gboolean save_passwd); /* accounts */ -struct _EAccount *mail_config_get_account_by_source_url (const char *url); -struct _EAccount *mail_config_get_account_by_transport_url (const char *url); +struct _EAccount *mail_config_get_account_by_source_url (const gchar *url); +struct _EAccount *mail_config_get_account_by_transport_url (const gchar *url); -int mail_config_get_address_count (void); -int mail_config_get_message_limit (void); +gint mail_config_get_address_count (void); +gint mail_config_get_message_limit (void); gboolean mail_config_get_enable_magic_spacebar (void); struct _EAccountService *mail_config_get_default_transport (void); /* uri's got changed by the store, etc */ -void mail_config_uri_renamed (GCompareFunc uri_cmp, const char *old, const char *new); -void mail_config_uri_deleted (GCompareFunc uri_cmp, const char *uri); +void mail_config_uri_renamed (GCompareFunc uri_cmp, const gchar *old, const gchar *new); +void mail_config_uri_deleted (GCompareFunc uri_cmp, const gchar *uri); /* static utility functions */ -char *mail_config_folder_to_cachename (CamelFolder *folder, const char *prefix); -char *mail_config_folder_to_safe_url (CamelFolder *folder); +gchar *mail_config_folder_to_cachename (CamelFolder *folder, const gchar *prefix); +gchar *mail_config_folder_to_safe_url (CamelFolder *folder); guint mail_config_get_error_timeout (void); guint mail_config_get_error_level (void); |