Fix warning caused by removing command-line handling
This will be readded as soon as we support xmpp: URIs.
This commit is contained in:
parent
f09a1cff2d
commit
690e7113ab
|
@ -50,7 +50,6 @@ fn main() {
|
||||||
|
|
||||||
let app = adw::Application::builder()
|
let app = adw::Application::builder()
|
||||||
.application_id("fr.linkmauve.XmppClient")
|
.application_id("fr.linkmauve.XmppClient")
|
||||||
.flags(gio::ApplicationFlags::HANDLES_COMMAND_LINE)
|
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let tabs_store = gio::ListStore::new::<Tab>();
|
let tabs_store = gio::ListStore::new::<Tab>();
|
||||||
|
@ -73,7 +72,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.connect_startup(move |app| {
|
app.connect_activate(move |app| {
|
||||||
let win = window::MainWindow::new(app);
|
let win = window::MainWindow::new(app);
|
||||||
|
|
||||||
let action_close = gio::ActionEntry::builder("close")
|
let action_close = gio::ActionEntry::builder("close")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user