changeset d312d6ddc50e in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=d312d6ddc50e description: prevent an error under GTK2.18+. Fixes #8287
diffstat:
src/gtkgui_helpers.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3c458f4d03c1 -r d312d6ddc50e src/gtkgui_helpers.py --- a/src/gtkgui_helpers.py Fri Mar 18 22:32:35 2016 +0100 +++ b/src/gtkgui_helpers.py Sat Mar 19 13:13:25 2016 +0100 @@ -125,7 +125,7 @@ """ window_x1, window_y1 = parent_win.get_origin()[1:]
- def position_menu_under_button(menu, data): + def position_menu_under_button(menu, _x=None, _y=None, data=None): # inline function, which will not keep refs, when used as CB alloc = button.get_allocation() button_x, button_y = alloc.x, alloc.y