Fix a locking problem in g_main_context_iterate()
Fix a locking problem in g_main_context_iterate()

We failed to ensure that the context is locked on every exit of
the function. This fixes bug 583324.

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