GNOME Bugzilla – Bug 688411
g_type_init() is deprecated in glib >= 2.35.0
Last modified: 2012-11-30 14:43:24 UTC
So it shouldn't be invoked in new code.
Created attachment 229067 [details] [review] Remove g_type_init() call This patch increase glib requirement to 2.35.0 or greater, and removes g_type_init() call in the examples
Created attachment 229068 [details] [review] Alternative to previous patch This version keeps the glib >= 2.24.0 requirement, and invokes g_type_init() only for versions older than 2.35.0.