podcasts/hammond-gtk
Jordan Petridis fc9579cd51
EpisodeWidget: Replace some Mutexs with RefCells.
The state machines are not send and the code is sequnecial.
We only need `&mut machine` refference to pass to `take_mut::take`
to change the state of the machine. In 2/3 cases we can even use
`.get_mut()` method and even avoid the dynamic borrow checks at
runtime. For the `TitleMachine` The only thing that will hold
a refference to it after initialization will be the play_button
callback. So it's justifiable to use `RefCell` insetead of a `Mutex`.
2018-03-13 04:44:06 +02:00
..
resources InAppNotification: Remove reduntant Overlay. 2018-03-09 19:46:46 +02:00
src EpisodeWidget: Replace some Mutexs with RefCells. 2018-03-13 04:44:06 +02:00
build.rs Draft of implementation using gresources safe api. 2017-11-06 14:35:50 +02:00
Cargo.toml Merge branch 'master' into state-machines-experiements 2018-03-12 22:10:14 +02:00