Skip to content

Commit 54eaa17

Browse files
committed
updated for version 7.4.252
Problem: Critical error in GTK, removing timer twice. Solution: Clear the timer after removing it. (James McCoy)
1 parent 39bb03c commit 54eaa17

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/gui_gtk_x11.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,10 @@ blink_cb(gpointer data UNUSED)
732732
gui_mch_start_blink(void)
733733
{
734734
if (blink_timer)
735+
{
735736
gtk_timeout_remove(blink_timer);
737+
blink_timer = 0;
738+
}
736739
/* Only switch blinking on if none of the times is zero */
737740
if (blink_waittime && blink_ontime && blink_offtime && gui.in_focus)
738741
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
252,
737739
/**/
738740
251,
739741
/**/

0 commit comments

Comments
 (0)