mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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)
|
gui_mch_start_blink(void)
|
||||||
{
|
{
|
||||||
if (blink_timer)
|
if (blink_timer)
|
||||||
|
{
|
||||||
gtk_timeout_remove(blink_timer);
|
gtk_timeout_remove(blink_timer);
|
||||||
|
blink_timer = 0;
|
||||||
|
}
|
||||||
/* Only switch blinking on if none of the times is zero */
|
/* Only switch blinking on if none of the times is zero */
|
||||||
if (blink_waittime && blink_ontime && blink_offtime && gui.in_focus)
|
if (blink_waittime && blink_ontime && blink_offtime && gui.in_focus)
|
||||||
{
|
{
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
252,
|
||||||
/**/
|
/**/
|
||||||
251,
|
251,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user