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

GTK3 backend: Replaced deprecated GObject calls with GLib #2826

Merged
merged 1 commit into from Feb 21, 2014

Conversation

timovwb
Copy link
Contributor

@timovwb timovwb commented Feb 20, 2014

Using GObject.timeout_add and GObject.source_remove are deprecated and should be replaced by corresponding GLib calls.
Running a distro with an unstable PyGObject version will throw deprecation warnings for each call, so this patch fixes those. Run a GTK3 animation example with Python and the -Wd flags on stable versions to show these warnings.

This will not break any backwards compatibility.

@tacaswell tacaswell added this to the v1.4.0 milestone Feb 21, 2014
tacaswell added a commit that referenced this pull request Feb 21, 2014
GTK3 backend: Replaced deprecated GObject calls with GLib
@tacaswell tacaswell merged commit 84a8389 into matplotlib:master Feb 21, 2014
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