gl/window: remove use of main_context_push/pop_thread_default()
authorMatthew Waters <matthew@centricular.com>
Wed, 14 Dec 2016 13:59:45 +0000 (00:59 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 15 Dec 2016 13:02:47 +0000 (00:02 +1100)
commitf58eb9844051479062f9c4dcb69da46d001625da
tree920bc94cbf447e3ede2accea10b962508d8eee86
parentb1fd1d34bd3e6e0402d56efee5bc7b88fffdf895
gl/window: remove use of main_context_push/pop_thread_default()

No-one's using/depending on it (it would have criticalled and not worked)
and it's causing more problems than it's solving.  Store the GMainContext
in the public struct instead for subclasses to optionally use instead of
relying on the push/pop state to be correct.

https://bugzilla.gnome.org/show_bug.cgi?id=775970
gst-libs/gst/gl/gstglwindow.c
gst-libs/gst/gl/gstglwindow.h
gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
gst-libs/gst/gl/win32/gstglwindow_win32.c