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 /utils/togglerecord | |
parent | 6132788b02b38b5f0d0019f40a66a52e2d33177e (diff) |
Update for `gtk::Application` constructor API changes
Diffstat (limited to 'utils/togglerecord')
-rw-r--r-- | utils/togglerecord/examples/gtk_recording.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |