From 4464bf2eaac214aade6be0248859823cc9e837a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 Jan 2023 11:51:10 +0200 Subject: Update for `gtk::Application` constructor API changes --- utils/togglerecord/examples/gtk_recording.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/togglerecord/examples') 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(); -- cgit v1.2.3