Fix typo in "gui.events"

A couple spots referenced "gui.event" where "gui.events" was meant.
This commit is contained in:
Tom Tromey
2024-03-02 14:24:18 -07:00
parent da1d9741f6
commit add2391740
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2012, 2013, 2015, 2023 Tom Tromey <tom@tromey.com>
# Copyright (C) 2012, 2013, 2015, 2023, 2024 Tom Tromey <tom@tromey.com>
# 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):

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2013, 2015 Tom Tromey <tom@tromey.com>
# Copyright (C) 2013, 2015, 2024 Tom Tromey <tom@tromey.com>
# 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):