Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Replace gtk3 deprecated APIs that have simple replacements. #19435

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
Feb 4, 2021

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Feb 2, 2021

PR Summary

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

- set_double_buffered (deprecated since gtk3.14) is unnecessary, gtk
  (even gtk2) defaults to being double-buffered (this line of code comes
  from the old gtk2 backend which used to disable double buffering).
  https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-double-buffered

- gtk_window_get_pointer is deprecated since gtk3.0.
  https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#gdk-window-get-pointer

- get_window_size_request is deprecated since gtk3.0.  Also inline
  add_widget, which is used exactly once.
  https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-size-request
@timhoffm timhoffm added this to the v3.4.0 milestone Feb 4, 2021
@timhoffm timhoffm merged commit 3d349f2 into matplotlib:master Feb 4, 2021
@anntzer anntzer deleted the gtkd branch February 4, 2021 22:41
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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.