In what way do you think that the API/ABI of gdk_threads_enter() and
gdk_threads_leave() is not stable? As far as I can see it is there and
fully functioning with gtk+-3.10.2, albeit it is deprecated.
if you use DISABLE_DEPRECATED then it vanishes. and there are lots of good reasons for using DISABLE_DEPRECATED.