adw: clear stored tab overview timer

This prevents a GTK warning:

```
(process:354789): GLib-CRITICAL **: 19:07:01.853: Source ID 511 was not found when attempting to remove it
```

which happens when trying to clean a timer already used.
This commit is contained in:
Paul Berg
2024-09-18 19:11:21 +02:00
parent 618264a16e
commit a6cd4b9750

View File

@ -571,6 +571,7 @@ fn adwTabOverviewOpen(
fn adwTabOverviewFocusTimer(
self: *Window,
) callconv(.C) c.gboolean {
self.adw_tab_overview_focus_timer = null;
self.focusCurrentTab();
// Remove the timer