gtk3reactor.py 512 B

12345678910111213141516171819202122
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. """
  4. This module is a legacy compatibility alias for L{twisted.internet.gireactor}.
  5. See that module instead.
  6. """
  7. from incremental import Version
  8. from ._deprecate import deprecatedGnomeReactor
  9. deprecatedGnomeReactor("gtk3reactor", Version("Twisted", 23, 8, 0))
  10. from twisted.internet import gireactor
  11. Gtk3Reactor = gireactor.GIReactor
  12. PortableGtk3Reactor = gireactor.PortableGIReactor
  13. install = gireactor.install
  14. __all__ = ["install"]