Branch: refs/heads/master
Home: https://github.com/ibus/ibus
Commit: 6291feb259cee5589683cf7ac1a87c44582ba3c0
https://github.com/ibus/ibus/commit/6291feb259cee5589683cf7ac1a87c44582ba3c0
Author: Christophe Fergeau <[email protected]>
Date: 2014-06-09 (Mon, 09 Jun 2014)
Changed paths:
M src/tests/ibus-config.c
Log Message:
-----------
tests/ibus-config Fix timeout_id handling
tests/ibus-config queues a timeout whose callback calls
g_main_loop_quit() before returning FALSE. After exiting the mainloop,
g_source_remove(timeout_id) is called, but if the mainloop was exited
through the timeout callback, the source will already have been removed.
This commit makes sure we only try to call g_source_remove() on that
timeout if we did not exit the mainloop through the timeout callback.
BUG=http://code.google.com/p/ibus/issues/detail?id=1712
Review URL: https://codereview.appspot.com/108730044
Patch from Christophe Fergeau <[email protected]>.
--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
---
You received this message because you are subscribed to the Google Groups
"ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.