multani / sonata

GTK 3 client for the Music Player Daemon - I'm looking for new maintainers!
GNU General Public License v3.0
124 stars 41 forks source link

library: Cope with additional arguments in newer PyGObject #109

Closed smcv closed 4 years ago

smcv commented 4 years ago

x and y are (inout) arguments. Recent versions of PyGObject represent this as: position_menu(menu, x, y, user_data) -> (x, y, push_in).


This avoids:

TypeError: library_view_position_menu() takes 3 positional arguments but 5 were given
multani commented 4 years ago

Thanks again for the patch!