[gmime] Fixed up compile warning and docs
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Fixed up compile warning and docs
- Date: Sun, 23 Apr 2017 16:04:26 +0000 (UTC)
commit cfcf6085cb5c4d9e7a80833183abc66c6faf70a5
Author: Jeffrey Stedfast <fejj gnome org>
Date: Sat Apr 22 21:34:59 2017 -0400
Fixed up compile warning and docs
docs/reference/gmime-sections.txt | 2 ++
gmime/gmime-parser-options.c | 2 +-
gmime/gmime-parser-options.h | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gmime-sections.txt b/docs/reference/gmime-sections.txt
index edb2cec..4ae47af 100644
--- a/docs/reference/gmime-sections.txt
+++ b/docs/reference/gmime-sections.txt
@@ -1288,6 +1288,8 @@ g_mime_parser_options_clone
g_mime_parser_options_get_default
g_mime_parser_options_get_address_compliance_mode
g_mime_parser_options_set_address_compliance_mode
+g_mime_parser_options_get_allow_addresses_without_domain
+g_mime_parser_options_set_allow_addresses_without_domain
g_mime_parser_options_get_parameter_compliance_mode
g_mime_parser_options_set_parameter_compliance_mode
g_mime_parser_options_get_rfc2047_compliance_mode
diff --git a/gmime/gmime-parser-options.c b/gmime/gmime-parser-options.c
index 3e002ca..7eb05e8 100644
--- a/gmime/gmime-parser-options.c
+++ b/gmime/gmime-parser-options.c
@@ -227,7 +227,7 @@ g_mime_parser_options_set_address_compliance_mode (GMimeParserOptions *options,
*
* Returns: %TRUE if the address parser should allow addresses without a domain.
**/
-GMimeRfcComplianceMode
+gboolean
g_mime_parser_options_get_allow_addresses_without_domain (GMimeParserOptions *options)
{
return options ? options->allow_no_domain : default_options->allow_no_domain;
diff --git a/gmime/gmime-parser-options.h b/gmime/gmime-parser-options.h
index a2d23b3..b5c9af7 100644
--- a/gmime/gmime-parser-options.h
+++ b/gmime/gmime-parser-options.h
@@ -61,7 +61,7 @@ GMimeParserOptions *g_mime_parser_options_clone (GMimeParserOptions *options);
GMimeRfcComplianceMode g_mime_parser_options_get_address_compliance_mode (GMimeParserOptions *options);
void g_mime_parser_options_set_address_compliance_mode (GMimeParserOptions *options, GMimeRfcComplianceMode
mode);
-gboolean g_mime_parser_options_allow_addresses_without_domain (GMimeParserOptions *options);
+gboolean g_mime_parser_options_get_allow_addresses_without_domain (GMimeParserOptions *options);
void g_mime_parser_options_set_allow_addresses_without_domain (GMimeParserOptions *options, gboolean allow);
GMimeRfcComplianceMode g_mime_parser_options_get_parameter_compliance_mode (GMimeParserOptions *options);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]