mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
Fix compilation of GTK examples with latest gio
This commit is contained in:
parent
92e0b525ad
commit
884c9790ef
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ fn main() {
|
||||||
gst::init().unwrap();
|
gst::init().unwrap();
|
||||||
gtk::init().unwrap();
|
gtk::init().unwrap();
|
||||||
|
|
||||||
let app = gtk::Application::new(None, gio::APPLICATION_FLAGS_NONE).unwrap();
|
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE).unwrap();
|
||||||
|
|
||||||
app.connect_activate(create_ui);
|
app.connect_activate(create_ui);
|
||||||
let args = env::args().collect::<Vec<_>>();
|
let args = env::args().collect::<Vec<_>>();
|
||||||
|
|
|
@ -205,7 +205,7 @@ fn main() {
|
||||||
gst::init().unwrap();
|
gst::init().unwrap();
|
||||||
gtk::init().unwrap();
|
gtk::init().unwrap();
|
||||||
|
|
||||||
let app = gtk::Application::new(None, gio::APPLICATION_FLAGS_NONE).unwrap();
|
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE).unwrap();
|
||||||
|
|
||||||
app.connect_activate(create_ui);
|
app.connect_activate(create_ui);
|
||||||
let args = env::args().collect::<Vec<_>>();
|
let args = env::args().collect::<Vec<_>>();
|
||||||
|
|
Loading…
Reference in a new issue