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

Fixed pixbuf bug in gtk icons. #2116

Merged
merged 2 commits into from Sep 11, 2023
Merged

Conversation

proneon267
Copy link
Contributor

Fixed a pixbuf bug present in gtk icons. Prevents the error:

AttributeError: 'Pixbuf' object has no attribute 'get_pixbuf'

With this bug, it would be impossible to show the about dialog on gtk.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. This likely would have been picked up by the tests on #2075 when it is fully merged up with the changes to toga.Icon that have landed in main, but it doesn't hurt to get ahead of things.

However, for future reference - "Fixes the bug" isn't a very helpful description. Which bug? How does it manifest? How can I verify that this patch fixes the bug? In this case, it's reasonably obvious that you can trigger the bug by opening the About menu, but as a general rule, if a PR isn't associated with an issue, including reproduction or testing instructions is a fairly important part of a PR.

@freakboy3742 freakboy3742 merged commit 5b94842 into beeware:main Sep 11, 2023
41 checks passed
@proneon267 proneon267 deleted the patch-16 branch September 12, 2023 06:51
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