Skip to content

Commit

Permalink
Merge pull request #2116 from proneon267/patch-16
Browse files Browse the repository at this point in the history
Fixed pixbuf bug in gtk icons.
  • Loading branch information
freakboy3742 authored Sep 11, 2023
2 parents 6cacd1d + 6e4ca30 commit 5b94842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/2116.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An error raised when displaying a GTK About dialog was resolved.
2 changes: 1 addition & 1 deletion gtk/src/toga_gtk/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def show_about_dialog(self):
about = Gtk.AboutDialog()

icon_impl = toga_App.app.icon._impl
about.set_logo(icon_impl.native_72.get_pixbuf())
about.set_logo(icon_impl.native_72)

if self.interface.name is not None:
about.set_program_name(self.interface.name)
Expand Down

0 comments on commit 5b94842

Please sign in to comment.