Skip to content

Fixes from type hints - #1342

Merged
cschramm merged 5 commits into
blueman-project:masterfrom
cschramm:types-fixes
Aug 18, 2020
Merged

Fixes from type hints#1342
cschramm merged 5 commits into
blueman-project:masterfrom
cschramm:types-fixes

Conversation

@cschramm

@cschramm cschramm commented Aug 18, 2020

Copy link
Copy Markdown
Member

Some actual fixes for issues found while adding type hints, cherry-picked from #1338 #1340 #1341.

@cschramm
cschramm requested a review from infirit August 18, 2020 07:49
@cschramm

Copy link
Copy Markdown
Member Author

The issues I added to the changelog are actually in the current releases. I wonder why the default PIN thing didn't bite us yet. 🤔

@infirit

infirit commented Aug 18, 2020

Copy link
Copy Markdown
Contributor

The issues I added to the changelog are actually in the current releases. I wonder why the default PIN thing didn't bite us yet. 🤔

BlueZ handles most keyboard, mice and other devices with default pins. The defaults still left are for more rare devices which I don't own and very likely neither do you.

infirit
infirit previously approved these changes Aug 18, 2020
* Call correct method to disconnect signal (broken since cd9eb76).
* Return default PIN correctly (broken since a1c81b6).
Sendto.on_session_failed expects msg to be a BluezDBusException but the signal transports it as a str, obtained by PyGObject by calling __str__ since dd75308.
set_search_equal_func either must not receive user data or search_func must take it as an additional argument. It actually got added in blueman-project#29 to the call but not to the method. I do not see how that could have worked but maybe something else changed that broke it along the way.
@cschramm
cschramm requested a review from infirit August 18, 2020 23:11
@cschramm
cschramm merged commit e0ae0a5 into blueman-project:master Aug 18, 2020
@cschramm
cschramm deleted the types-fixes branch August 18, 2020 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants