Init GDK threads on libfm-gtk initialization.