diff --git a/utils/fallbackswitch/examples/gtk_fallbackswitch.rs b/utils/fallbackswitch/examples/gtk_fallbackswitch.rs index d5f5d8c6e..0f2957251 100644 --- a/utils/fallbackswitch/examples/gtk_fallbackswitch.rs +++ b/utils/fallbackswitch/examples/gtk_fallbackswitch.rs @@ -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(); diff --git a/utils/togglerecord/examples/gtk_recording.rs b/utils/togglerecord/examples/gtk_recording.rs index e90241a74..ab5d441a3 100644 --- a/utils/togglerecord/examples/gtk_recording.rs +++ b/utils/togglerecord/examples/gtk_recording.rs @@ -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(); diff --git a/video/gtk4/examples/gtksink.rs b/video/gtk4/examples/gtksink.rs index 867dc1eaf..160ef281e 100644 --- a/video/gtk4/examples/gtksink.rs +++ b/video/gtk4/examples/gtksink.rs @@ -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();