##// END OF EJS Templates
Remove deprecated methods....
Matthias Bussonnier -
Show More
@@ -566,20 +566,6 b' disable_gui = inputhook_manager.disable_gui'
566 566 register = inputhook_manager.register
567 567 guis = inputhook_manager.guihooks
568 568
569 # Deprecated methods: kept for backwards compatibility, do not use in new code
570 def _make_deprecated_enable(name):
571 def enable_toolkit(app=None):
572 warn("This function is deprecated - use enable_gui(%r) instead" % name)
573 inputhook_manager.enable_gui(name, app)
574
575 enable_osx = _make_deprecated_enable('osx')
576 enable_wx = _make_deprecated_enable('wx')
577 enable_qt4 = _make_deprecated_enable('qt4')
578 enable_gtk = _make_deprecated_enable('gtk')
579 enable_tk = _make_deprecated_enable('tk')
580 enable_glut = _make_deprecated_enable('glut')
581 enable_pyglet = _make_deprecated_enable('pyglet')
582 enable_gtk3 = _make_deprecated_enable('gtk3')
583 569
584 570 def _deprecated_disable():
585 571 warn("This function is deprecated: use disable_gui() instead")
General Comments 0
You need to be logged in to leave comments. Login now