Fixed g_source_remove call with none existing source.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 15 Apr 2014 19:20:11 +0000 (21:20 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 15 Apr 2014 19:20:41 +0000 (21:20 +0200)
commita110c27ba0e2c189d88a14c2e34f549956d9f09c
tree3e49151e6a23d4f756d17897445aeca1ad24dc9d
parent8c6ee697fd6d58cd9e1813aa4c1b1061e29a245e
Fixed g_source_remove call with none existing source.

The api was changed and spits out a critical error if a source does no exists.
This was the case when the timeout was remove by glib automatically after the
timeout function returned false.
Now the timeout function does return true to not remove the source
automatically, instead the resource is removed by vimb when the timeout is
handled in the map_handle_keys function.
src/map.c