It seems to be (you can `grep -R "reset(new glib::Timeout" to see similar uses). `hover_timer_->Remove() would also stop it, but then I'd just need add the same line afterwards to set a new timeout.
> Also I think you can unit test the new class
Okay, added. There's not much to test, as the modules only interaction with the outside world is calling `icon_->ShowTooltip()` and `icon_->HideTooltip()`. Tell me if there are any other test cases you'd like to see.
> Don't do this please :)
Okay, removed.
> Is this the right way to stop the timeout?
It seems to be (you can `grep -R "reset(new glib::Timeout" to see similar uses). `hover_ timer_- >Remove( ) would also stop it, but then I'd just need add the same line afterwards to set a new timeout.
> Also I think you can unit test the new class
Okay, added. There's not much to test, as the modules only interaction with the outside world is calling `icon_- >ShowTooltip( )` and `icon_- >HideTooltip( )`. Tell me if there are any other test cases you'd like to see.