enum/flags: use gir info for type names and __repr__ instead of the gtype name
commitb1788c9a445c8a820121c42260bcbdbc3ae8dfba
authorChristoph Reiter <creiter@src.gnome.org>
Mon, 26 Oct 2015 10:17:34 +0000 (26 11:17 +0100)
committerChristoph Reiter <creiter@src.gnome.org>
Tue, 27 Oct 2015 08:26:46 +0000 (27 09:26 +0100)
treedcbf0f94abd5a865f46beccb2756637ee6e486e1
parent6b702c052e9f26e809cff494f0c896d17a514c64
enum/flags: use gir info for type names and __repr__ instead of the gtype name

For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.

https://bugzilla.gnome.org/show_bug.cgi?id=657915
gi/gimodule.c
gi/pygenum.c
gi/pygflags.c
tests/test_gi.py
tests/test_overrides_gdk.py