Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/fallbackswitch/examples/gtk_fallbackswitch.rs2
-rw-r--r--utils/togglerecord/examples/gtk_recording.rs2
-rw-r--r--video/gtk4/examples/gtksink.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/utils/fallbackswitch/examples/gtk_fallbackswitch.rs b/utils/fallbackswitch/examples/gtk_fallbackswitch.rs
index d5f5d8c6..0f295725 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 e90241a7..ab5d441a 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 867dc1ea..160ef281 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();