gmime r1456 - in trunk: . gmime
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1456 - in trunk: . gmime
- Date: Thu, 18 Sep 2008 14:22:41 +0000 (UTC)
Author: fejj
Date: Thu Sep 18 14:22:40 2008
New Revision: 1456
URL: http://svn.gnome.org/viewvc/gmime?rev=1456&view=rev
Log:
2008-09-18 Jeffrey Stedfast <fejj novell com>
* gmime/gmime.c (g_mime_init): Register all of our GObject types
with the glib type system so that there's less risk of a
race-condition in multi-threaded applications (not sure if this is
a justifiable concern or not, but it doesn't hurt).
Modified:
trunk/ChangeLog
trunk/gmime/gmime.c
Modified: trunk/gmime/gmime.c
==============================================================================
--- trunk/gmime/gmime.c (original)
+++ trunk/gmime/gmime.c Thu Sep 18 14:22:40 2008
@@ -104,6 +104,16 @@
gmime_error_quark = g_quark_from_static_string ("gmime");
+ /* register our GObject types with the GType system */
+ g_mime_message_get_type ();
+ g_mime_content_type_get_type ();
+ g_mime_content_disposition_get_type ();
+
+ internet_address_get_type ();
+ internet_address_list_get_type ();
+ internet_address_group_get_type ();
+ internet_address_mailbox_get_type ();
+
/* register our default mime object types */
g_mime_object_register_type ("*", "*", g_mime_part_get_type ());
g_mime_object_register_type ("multipart", "*", g_mime_multipart_get_type ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]