Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash caused by two objects having the same ID #285

Merged

Conversation

felipeborges
Copy link
Contributor

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

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
@lainsce
Copy link
Owner

lainsce commented Sep 8, 2021

Hmm... I don't know why I wrote those IDs, but yeah they're useless now. Thanks for the fix!

@lainsce lainsce merged commit a4b6539 into lainsce:master Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants