Don't use deprecated GLib api
Don't use deprecated GLib api

Fixes bug 585673.

ahmedammar/platform_external_gst_glib,bratsche/glib,lukasz-skalski/glib,gale320/glib,dicer/android_external_glib,djdeath/glib,bluez-android/glib,cosimoc/glib,ieei/glib-old-android,Distrotech/glib,ahmedammar/platform_external_gst_glib,cention-sany/glib,tamaskenez/glib,01org/android-bluez-glib,zsx/glib,tamaskenez/glib,lukasz-skalski/glib,justinkb/aosp-bluez.glib,cosimoc/glib,mzabaluev/glib,zsx/glib,darren-clark/android_platform_external_bluetooth_glib,gale320/glib,endlessm/glib,01org/android-bluez-glib,gale320/glib,tchakabam/glib,mzabaluev/glib,justinkb/aosp-bluez.glib,darren-clark/android_platform_external_bluetooth_glib,antono/glib,pstglia/platform-external-bluetooth-glib,djdeath/glib,zsx/glib,bratsche/glib,pstglia/platform-external-bluetooth-glib,cosimoc/glib,endlessm/glib,johne53/MB3Glib,01org/android-bluez-glib,endlessm/glib,krichter722/glib,djdeath/glib,ieei/glib,lukasz-skalski/glib,antono/glib,justinkb/aosp-bluez.glib,dicer/android_external_glib,iConsole/Console-OS_external_bluetooth_glib,gale320/glib,endlessm/glib,tchakabam/glib,antono/glib,bluez-android/glib,pstglia/platform-external-bluetooth-glib,pstglia/external-bluetooth-glib,johne53/MB3Glib,krichter722/glib,MathieuDuponchelle/glib,iConsole/Console-OS_external_bluetooth_glib,pstglia/external-bluetooth-glib,tchakabam/glib,bratsche/glib,ieei/glib,bluez-android/glib,cention-sany/glib,01org/android-bluez-glib,OpenInkpot-archive/iplinux-glib2.0,lukasz-skalski/glib,dicer/android_external_glib,pstglia/platform-external-bluetooth-glib,mzabaluev/glib,tamaskenez/glib,ieei/glib,krichter722/glib,lukasz-skalski/glib,ahmedammar/platform_external_gst_glib,darren-clark/android_platform_external_bluetooth_glib,johne53/MB3Glib,MathieuDuponchelle/glib,Distrotech/glib,bluez-android/glib,bratsche/glib,cosimoc/glib,ieei/glib-old-android,pstglia/external-bluetooth-glib,justinkb/aosp-bluez.glib,darren-clark/android_platform_external_bluetooth_glib,krichter722/glib,darren-clark/android_platform_external_bluetooth_glib,tchakabam/glib,djdeath/glib,cosimoc/glib,OpenInkpot-archive/iplinux-glib2.0,MathieuDuponchelle/glib,Distrotech/glib,ieei/glib-old-android,johne53/MB3Glib,johne53/MB3Glib,ahmedammar/platform_external_gst_glib,endlessm/glib,mzabaluev/glib,ieei/glib-old-android,MathieuDuponchelle/glib,mzabaluev/glib,dicer/android_external_glib,01org/android-bluez-glib,iConsole/Console-OS_external_bluetooth_glib,OpenInkpot-archive/iplinux-glib2.0,justinkb/aosp-bluez.glib,antono/glib,ieei/glib,Distrotech/glib,bluez-android/glib,gale320/glib,OpenInkpot-archive/iplinux-glib2.0,pstglia/external-bluetooth-glib,OpenInkpot-archive/iplinux-glib2.0,djdeath/glib,cention-sany/glib,krichter722/glib,tamaskenez/glib,iConsole/Console-OS_external_bluetooth_glib,ieei/glib,pstglia/external-bluetooth-glib,iConsole/Console-OS_external_bluetooth_glib,zsx/glib,johne53/MB3Glib,pstglia/platform-external-bluetooth-glib,tchakabam/glib,MathieuDuponchelle/glib,dicer/android_external_glib,cention-sany/glib,tamaskenez/glib,Distrotech/glib,cention-sany/glib