gio: Error out when we cannot modify a GAppInfo
gio: Error out when we cannot modify a GAppInfo

g_desktop_app_info_set_as_default_for_type() and
g_desktop_app_info_set_as_last_used_for_type () require the
application's ID, but depending on how the GAppInfo was created,
we might not be have one, and would thus silently fail to set
the default application, or last used application.

https://bugzilla.gnome.org/show_bug.cgi?id=657445

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