diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2023-01-16 12:51:10 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-01-16 12:51:10 +0300 |
commit | 4464bf2eaac214aade6be0248859823cc9e837a3 (patch) | |
tree | a4509c6ccb2dcc4a94e3985cf6e03de5d09c082e /video | |
parent | 6132788b02b38b5f0d0019f40a66a52e2d33177e (diff) |
Update for `gtk::Application` constructor API changes
Diffstat (limited to 'video')
-rw-r--r-- | video/gtk4/examples/gtksink.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |