gtk4: Update for glib::Priority API changes

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1132>
This commit is contained in:
Sebastian Dröge 2023-03-12 10:27:16 +02:00
parent e757212741
commit f7c8940ff2

View file

@ -509,7 +509,7 @@ impl PaintableSink {
gst::debug!(CAT, imp: self, "Initializing paintable"); gst::debug!(CAT, imp: self, "Initializing paintable");
// The channel for the SinkEvents // The channel for the SinkEvents
let (sender, receiver) = glib::MainContext::channel(glib::PRIORITY_DEFAULT); let (sender, receiver) = glib::MainContext::channel(glib::Priority::DEFAULT);
let self_ = self.to_owned(); let self_ = self.to_owned();
let paintable = utils::invoke_on_main_thread(move || { let paintable = utils::invoke_on_main_thread(move || {