[gmime: 11/14] call g_mime_[parser,format]_options_get_type()



commit 7d128dd840c0f541b20eaeb35d3fb12c4b4dc6c4
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date:   Thu Mar 30 18:51:15 2017 -0400

    call g_mime_[parser,format]_options_get_type()

 gmime/gmime-format-options.h |    2 +-
 gmime/gmime-parser-options.h |    2 +-
 gmime/gmime.c                |    3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gmime/gmime-format-options.h b/gmime/gmime-format-options.h
index abbac0f..be23194 100644
--- a/gmime/gmime-format-options.h
+++ b/gmime/gmime-format-options.h
@@ -84,7 +84,7 @@ typedef struct {
        guint maxline;
 } GMimeFormatOptions;
 
-GType g_mime_format_options_get_type (void) G_GNUC_CONST;
+GType g_mime_format_options_get_type (void);
 
 GMimeFormatOptions *g_mime_format_options_get_default (void);
 
diff --git a/gmime/gmime-parser-options.h b/gmime/gmime-parser-options.h
index 6346a29..31d9385 100644
--- a/gmime/gmime-parser-options.h
+++ b/gmime/gmime-parser-options.h
@@ -58,7 +58,7 @@ typedef struct {
 } GMimeParserOptions;
 
 
-GType g_mime_parser_options_get_type (void) G_GNUC_CONST;
+GType g_mime_parser_options_get_type (void);
 
 GMimeParserOptions *g_mime_parser_options_get_default (void);
 
diff --git a/gmime/gmime.c b/gmime/gmime.c
index 5fab5af..b6ae25c 100644
--- a/gmime/gmime.c
+++ b/gmime/gmime.c
@@ -166,6 +166,9 @@ g_mime_init (void)
        g_mime_stream_null_get_type ();
        g_mime_stream_pipe_get_type ();
        
+       g_mime_format_options_get_type ();
+       g_mime_parser_options_get_type ();
+       
        g_mime_parser_get_type ();
        g_mime_message_get_type ();
        g_mime_data_wrapper_get_type ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]