mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-22 00:48:17 +00:00
Update for gtk::Application
constructor API changes
This commit is contained in:
parent
6132788b02
commit
4464bf2eaa
3 changed files with 3 additions and 3 deletions
|
@ -203,7 +203,7 @@ fn main() {
|
|||
gstfallbackswitch::plugin_register_static().expect("Failed to register fallbackswitch plugin");
|
||||
gstgtk4::plugin_register_static().expect("Failed to register gtk4paintablesink plugin");
|
||||
|
||||
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE);
|
||||
let app = gtk::Application::new(None::<&str>, gio::ApplicationFlags::FLAGS_NONE);
|
||||
|
||||
app.connect_activate(create_ui);
|
||||
app.run();
|
||||
|
|
|
@ -333,7 +333,7 @@ fn main() {
|
|||
gsttogglerecord::plugin_register_static().expect("Failed to register togglerecord plugin");
|
||||
gstgtk4::plugin_register_static().expect("Failed to register gtk4paintablesink plugin");
|
||||
|
||||
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE);
|
||||
let app = gtk::Application::new(None::<&str>, gio::ApplicationFlags::FLAGS_NONE);
|
||||
|
||||
app.connect_activate(create_ui);
|
||||
app.run();
|
||||
|
|
|
@ -147,7 +147,7 @@ fn main() {
|
|||
|
||||
gstgtk4::plugin_register_static().expect("Failed to register gstgtk4 plugin");
|
||||
|
||||
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE);
|
||||
let app = gtk::Application::new(None::<&str>, gio::ApplicationFlags::FLAGS_NONE);
|
||||
|
||||
app.connect_activate(create_ui);
|
||||
app.run();
|
||||
|
|
Loading…
Reference in a new issue