mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.4.252
Problem: Critical error in GTK, removing timer twice. Solution: Clear the timer after removing it. (James McCoy)
This commit is contained in:
@@ -732,7 +732,10 @@ blink_cb(gpointer data UNUSED)
|
||||
gui_mch_start_blink(void)
|
||||
{
|
||||
if (blink_timer)
|
||||
{
|
||||
gtk_timeout_remove(blink_timer);
|
||||
blink_timer = 0;
|
||||
}
|
||||
/* Only switch blinking on if none of the times is zero */
|
||||
if (blink_waittime && blink_ontime && blink_offtime && gui.in_focus)
|
||||
{
|
||||
|
Reference in New Issue
Block a user