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

Partials widgets rename #600

Merged
merged 5 commits into from
Jun 5, 2021
Merged

Partials widgets rename #600

merged 5 commits into from
Jun 5, 2021

Conversation

Alecaddd
Copy link
Member

@Alecaddd Alecaddd commented Jun 3, 2021

Summary / How this PR fixes the problem?

This is purely an architectural update to clean up some code and make sense of some areas.
No new feature or bug fix is in this PR.

Steps to Test

Use the app as usual and nothing should be broken.

This PR fixes/implements the following bugs/features:

  • Renamed the Layouts folder to Widgets.
  • Updates the block comment of all widgets to be consistent.
  • Create a destructor to remove event listeners.

The "important" change here is an experiment to implement destructors for those Widgets that are created and removed pretty often. The ColorField.vala should be the focus of this review, alongside checking if changing the attribute of the Window from public weak to private unowned affects performance.

@Alecaddd Alecaddd requested a review from mbfraga June 3, 2021 04:15
@Alecaddd Alecaddd merged commit 5f22745 into master Jun 5, 2021
@Alecaddd Alecaddd deleted the partials-widgets-rename branch June 5, 2021 06:42
madjesc pushed a commit to madjesc/Akira that referenced this pull request Jun 28, 2021
* Rename Partials to Widgets

* Consistent block comment for all widgets

* Disconnect events on destruction

* Remove constructor and update window attribute to unowned

* Update the ButtonImage widget
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.

None yet

2 participants