Skip to content

Gtk: Allow clearing a window icon - #3132

Merged
cwensley merged 1 commit into
picoe:developfrom
keysharp-org:upstream/gtk-clear-window-icon
Oct 27, 2026
Merged

cwensley merged 1 commit into
picoe:developfrom
keysharp-org:upstream/gtk-clear-window-icon

Conversation

@Descolada

@Descolada Descolada commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Assigning Window.Icon = null throws when the GTK handler dereferences the null icon. Pass null through to GTK to clear the explicit per-window icon and restore GTK's normal fallback behavior.

Pass null through to GTK when clearing Window.Icon instead of dereferencing
the null Eto icon. This clears the explicit per-window icon.
@Descolada
Descolada marked this pull request as ready for review October 27, 2026 12:52
@cwensley cwensley added this to the 2.14.0 milestone Oct 27, 2026
@cwensley

Copy link
Copy Markdown
Member

Looks great, thank you! 🙏

@cwensley
cwensley merged commit 061bc46 into picoe:develop Oct 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants