Fix NumberBox events configuration with latest pygobject

https://bugzilla.gnome.org/show_bug.cgi?id=693736