diff --git a/IPython/frontend/terminal/interactiveshell.py b/IPython/frontend/terminal/interactiveshell.py
index 0787e5c..818dd0a 100644
--- a/IPython/frontend/terminal/interactiveshell.py
+++ b/IPython/frontend/terminal/interactiveshell.py
@@ -358,6 +358,7 @@ class TerminalInteractiveShell(InteractiveShell):
     using_paste_magics = CBool(False)
 
     # In the terminal, GUI control is done via PyOS_InputHook
+    @staticmethod
     def enable_gui(gui=None, app=None):
         """Switch amongst GUI input hooks by name.
         """