From a4b65393473d69a575e2a531d969672eee60378c Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Wed, 8 Sep 2021 23:13:39 +0200 Subject: [PATCH] Fix crash caused by two objects having the same ID (#285) The main_window.ui file lists two objects with the same ID, preventing the app from starting with: (io.github.lainsce.Notejot:644523): Gtk-CRITICAL **: 15:15:03.493: Error building template class 'NotejotMainWindow' for an instance of type 'NotejotMainWindow': .:0:0 Duplicate object ID 'placeholder' (previously on line 0) None of these objects is referenced in the MainWindow.vala file, therefore dropping the IDs entirely fixes the issue. This was initially reported at https://bugzilla.redhat.com/2002210 --- data/ui/main_window.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/ui/main_window.ui b/data/ui/main_window.ui index f8c7d5b8..85f64a8b 100644 --- a/data/ui/main_window.ui +++ b/data/ui/main_window.ui @@ -106,7 +106,7 @@ - + center 0 1 @@ -136,7 +136,7 @@ - + center 1 user-trash-symbolic