summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-01-15 20:44:27 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-01-15 20:44:27 +0100
commite5a21f56cd375373741dcb2f2e8eefae349cffbc (patch)
tree06d814004835ee61c1375f38fdab8bc52a83583e /NEWS
parent5cb3d7af47310d0b6174811d0d298e7d1869624c (diff)
downloadpygobject-e5a21f56cd375373741dcb2f2e8eefae349cffbc.tar.gz
overrides: Fix Gtk.Adjustment.__init__ overrides not setting "value" sometimes. Fixes #151
Gtk.Adjustment allows passing positional arguments to __init__ which get translated to a dict for passing to GObject.Object.__init__. In case of the first argument "value", if "value" is passed before the upper and lower bound to Object.__init__ it will be set to 0 instead. In Python 2 this happened to work (at least on my machine) because "value" got placed after the bounds (in terms of iteration order) in the final dict value passed to Object.__init__. To work around this, set "value" again after __init__(). A similar work around already exists when "value" is passed as a kwarg.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions