Skip to content

Commit

Permalink
obex.Manager: Return the watch id
Browse files Browse the repository at this point in the history
It's used in TransferService.
  • Loading branch information
infirit committed Dec 23, 2024
1 parent 82784fb commit 4937c29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blueman/bluez/obex/Manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ def watch_name_owner(
cls,
appeared_handler: Callable[[Gio.DBusConnection, str, str], None],
vanished_handler: Callable[[Gio.DBusConnection, str], None],
) -> None:
Gio.bus_watch_name(Gio.BusType.SESSION, cls.__bus_name, Gio.BusNameWatcherFlags.AUTO_START,
appeared_handler, vanished_handler)
) -> int:
return Gio.bus_watch_name(Gio.BusType.SESSION, cls.__bus_name, Gio.BusNameWatcherFlags.AUTO_START,
appeared_handler, vanished_handler)

0 comments on commit 4937c29

Please sign in to comment.