gmain: Officially deprecate g_main_context_wait()7a34e396ae56fff4212df5e8c5aa2a0ccc855ab3139/head
commit7a34e396ae56fff4212df5e8c5aa2a0ccc855ab3
authorPhilip Withnall <withnall@endlessm.com>
Wed, 16 May 2018 09:42:21 +0000 (16 10:42 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Tue, 26 Jun 2018 08:30:19 +0000 (26 09:30 +0100)
tree70d755051520f6fb8702be0b38778b59b917f28d
parentcbfa776fc149fcc3e351fbdf68c1a299519f4905
gmain: Officially deprecate g_main_context_wait()

It’s been de-facto deprecated for a long time, due to emitting a
critical warning when used in a non-internal context. Make that official
in the documentation and with a deprecation annotation.

Split the implementation into an internal helper and an external
wrapper, so the two remaining internal uses don’t emit deprecation
warnings.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/glib/issues/903
glib/gmain.c
glib/gmain.h