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.
This commit is contained in:
Jordan Petridis 2017-11-13 15:06:56 +02:00
parent e2214022b9
commit b042205a3b
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -111,10 +111,8 @@ fn main() {
static_resource::init().expect("Something went wrong with the resource file initialization."); static_resource::init().expect("Something went wrong with the resource file initialization.");
hammond_data::init().expect("Hammond Initialazation failed."); hammond_data::init().expect("Hammond Initialazation failed.");
let application = gtk::Application::new( let application = gtk::Application::new("org.gnome.Hammond", gio::ApplicationFlags::empty())
"com.gitlab.alatiera.Hammond", .expect("Initialization failed...");
gio::ApplicationFlags::empty(),
).expect("Initialization failed...");
application.connect_startup(move |app| { application.connect_startup(move |app| {
build_ui(app); build_ui(app);