diff --git a/src/dialogs.py b/src/dialogs.py
index f8caff84d..e117e3406 100644
--- a/src/dialogs.py
+++ b/src/dialogs.py
@@ -1156,11 +1156,6 @@ class XMLConsoleWindow:
if not widget.get_expanded(): # it's the opposite!
# it's expanded!!
self.input_textview.grab_focus()
-
- def on_xml_console_window_destroy(self, widget):
- # remove us from open windows
- del self.plugin.windows[self.account]['xml_console']
- widget.destroy()
class InvitationReceivedDialog(HigDialog):
def __init__(self, plugin, account, room_jid, contact_jid, password = None, comment = None):
diff --git a/src/gtkgui.glade b/src/gtkgui.glade
index d24fe99f8..39cfad8ef 100644
--- a/src/gtkgui.glade
+++ b/src/gtkgui.glade
@@ -18234,7 +18234,6 @@ Maybe I'll refactor later
GDK_WINDOW_TYPE_HINT_NORMAL
GDK_GRAVITY_NORTH_WEST
True
-