adium 5757:4114c7524453: Remove g_type_init() because it's depre...

commits at adium.im commits at adium.im
Thu Nov 7 00:26:26 UTC 2013


details:	http://hg.adium.im/adium/rev/4114c7524453
revision:	5757:4114c7524453
branch:		(none)
author:		Frank Dowsett <wixardy at adium.im>
date:		Mon Nov 04 21:48:24 2013 -0500

Remove g_type_init() because it's deprecated: 'the type system is now initialised automatically'.

diffs (13 lines):

diff -r c9ea80f7c084 -r 4114c7524453 Plugins/Purple Service/SLPurpleCocoaAdapter.m
--- a/Plugins/Purple Service/SLPurpleCocoaAdapter.m	Wed Oct 30 01:24:33 2013 +0100
+++ b/Plugins/Purple Service/SLPurpleCocoaAdapter.m	Mon Nov 04 21:48:24 2013 -0500
@@ -204,9 +204,6 @@
 	
 	g_log_set_handler(NULL, G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION, adium_glib_log, NULL);
 	
-	// Init the glib type system (used by GObjects)
-	g_type_init();
-	
 	/* Don't let gstreamer load 'system path' plugins - if the user has gstreamer installed elsewhere,
 	 * or if this is a poor, confused developer who has built gstreamer locally, this will lead to very
 	 * bad behavior.




More information about the commits mailing list