Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Port cairo_threads example to use the new GLib MainContext channel in… #222

Merged
merged 1 commit into from Jan 25, 2019
Merged

Port cairo_threads example to use the new GLib MainContext channel in… #222

merged 1 commit into from Jan 25, 2019

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Jan 25, 2019

…stead of polling

This ensures that the image is redrawn only if it actually changed and
more or less immediately after it has changed instead of waiting up to
100ms.


Needs gtk-rs/glib#430 merged first and then the Cargo.toml changes have to be dropped.

@GuillaumeGomez
Copy link
Member

👍

cc @EPashkin

src/bin/cairo_threads.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
@EPashkin
Copy link
Member

@sdroege Thanks.

@sdroege
Copy link
Member Author

sdroege commented Jan 25, 2019

Updated

…stead of polling

This ensures that the image is redrawn only if it actually changed and
more or less immediately after it has changed instead of waiting up to
100ms.
@EPashkin
Copy link
Member

CI passed

@GuillaumeGomez
Copy link
Member

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit f647dd5 into gtk-rs:pending Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants