Avoid a segfault in g_application_register()
Avoid a segfault in g_application_register()

Patch by Mikkel Kamstrup Erlandsen
https://bugzilla.gnome.org/show_bug.cgi?id=639177

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