ejmg / tomaty

tomaty is a gtk+3 based application for the pomodoro technique 🍅
MIT License
6 stars 1 forks source link

refactor GLib.source_remove swap code #65

Open ejmg opened 6 years ago

ejmg commented 6 years ago

my patch in #64 involves a simple value swap for each call to GLib.source_remove. This behavior can be easily refactored into its own function to remove duplicate code.