From add239174080f01f784459b49466843b7dcc8e94 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 2 Mar 2024 14:24:18 -0700 Subject: [PATCH] Fix typo in "gui.events" A couple spots referenced "gui.event" where "gui.events" was meant. --- gui/source.py | 4 ++-- gui/updatewindow.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/source.py b/gui/source.py index f423d97..9d05c25 100644 --- a/gui/source.py +++ b/gui/source.py @@ -1,4 +1,4 @@ -# Copyright (C) 2012, 2013, 2015, 2023 Tom Tromey +# Copyright (C) 2012, 2013, 2015, 2023, 2024 Tom Tromey # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -221,7 +221,7 @@ class LRUHandler: @in_gdb_thread def _disconnect_events(self): gdb.events.stop.disconnect(self.on_event) - gui.event.frame_changed.disconnect(self.on_event) + gui.events.frame_changed.disconnect(self.on_event) @in_gtk_thread def pick_window(self, frame): diff --git a/gui/updatewindow.py b/gui/updatewindow.py index bfbc59d..e2b689d 100644 --- a/gui/updatewindow.py +++ b/gui/updatewindow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2013, 2015 Tom Tromey +# Copyright (C) 2013, 2015, 2024 Tom Tromey # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ class UpdateWindow(Toplevel): @in_gdb_thread def _disconnect_events(self): gdb.events.stop.disconnect(self._on_event) - gui.event.frame_changed.disconnect(self._on_event) + gui.events.frame_changed.disconnect(self._on_event) @in_gdb_thread def _on_event(self, *args):