Skip to content

Commit

Permalink
Change gtk3reactor to gireactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Kamina committed Jun 28, 2024
1 parent 23490d0 commit 2bb77b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deluge/ui/gtk3/gtkui.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
# isort:imports-thirdparty
from gi.repository.GLib import set_prgname
from gi.repository.Gtk import Builder, ResponseType
from twisted.internet import defer, gtk3reactor
from twisted.internet import defer, gireactor
from twisted.internet.error import ReactorAlreadyInstalledError
from twisted.internet.task import LoopingCall

try:
# Install twisted reactor, before any other modules import reactor.
reactor = gtk3reactor.install()
reactor = gireactor.install()
except ReactorAlreadyInstalledError:
# Running unit tests so already installed a rector
from twisted.internet import reactor
Expand Down

0 comments on commit 2bb77b5

Please sign in to comment.