Skip to content

FIX: Don't set_wmclass on GTK3 #29035

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

Merged
merged 1 commit into from
Oct 29, 2024
Merged

FIX: Don't set_wmclass on GTK3 #29035

merged 1 commit into from
Oct 29, 2024

Conversation

timhoffm
Copy link
Member

The method is deprecated, and according to docs should just not be used: https://docs.gtk.org/gtk3/method.Window.set_wmclass.html

The docs suggest gtk_window_set_role(), but AFAICS this is only helpful if one want to place the window in a certain position when restarting a session. I assume we don't want/need that.

This might also resolve this test failure #27766 (comment) - t.b.c.

The method is deprecated, and according to docs should just not
be used: https://docs.gtk.org/gtk3/method.Window.set_wmclass.html

The docs suggest gtk_window_set_role(), but AFAICS this is only
helpful if one want to place the window in a certain position
when restarting a session. I assume we don't want/need that.
@timhoffm timhoffm added this to the v3.9.3 milestone Oct 29, 2024
@tacaswell
Copy link
Member

Don’t use this function.

Ok then.

@greglucas greglucas merged commit 9f5a90c into matplotlib:main Oct 29, 2024
42 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Oct 29, 2024
@timhoffm timhoffm deleted the fix-gtk branch October 29, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants