From b042205a3b28f9e487dccba58d07a55804f36327 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 13 Nov 2017 15:06:56 +0200 Subject: [PATCH] Flatpak Runtime crash fix. The application was trying to register a name different than the one declared in the flatpak manifest. Changin the name to org.gnome.Hammond like on manifest should fix it. --- hammond-gtk/src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hammond-gtk/src/main.rs b/hammond-gtk/src/main.rs index b40f94f..46490be 100644 --- a/hammond-gtk/src/main.rs +++ b/hammond-gtk/src/main.rs @@ -111,10 +111,8 @@ fn main() { static_resource::init().expect("Something went wrong with the resource file initialization."); hammond_data::init().expect("Hammond Initialazation failed."); - let application = gtk::Application::new( - "com.gitlab.alatiera.Hammond", - gio::ApplicationFlags::empty(), - ).expect("Initialization failed..."); + let application = gtk::Application::new("org.gnome.Hammond", gio::ApplicationFlags::empty()) + .expect("Initialization failed..."); application.connect_startup(move |app| { build_ui(app);