libqmi-glib,net-port-manager: fix build with GLib 2.48
The g_ptr_array_steal_index_fast() method was introduced in 2.58, fallback to use g_ptr_array_remove_index_fast() instead.
Edited by Aleksander Morgado
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The g_ptr_array_steal_index_fast() method was introduced in 2.58, fallback to use g_ptr_array_remove_index_fast() instead.