summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@litl.com>2009-05-19 20:17:08 -0400
committerColin Walters <walters@verbum.org>2009-05-20 12:13:15 -0400
commitaa94335b84d17512281ab3ed4cd20fb1fad9dcd8 (patch)
tree026c1f2e46d42743e211b4374ddfe12d529e400d /Makefile.am
parent50dd263dbe16ecf8e81c3f674d23cb086f79ca7e (diff)
downloadgobject-introspection-aa94335b84d17512281ab3ed4cd20fb1fad9dcd8.tar.gz
Better handle classes with non-standard to_underscore names.
Previously we tried to guess what the "underscore version" of a class name would be, but for classes like NMSetting8021x we'd guess "nm_setting8021x" instead of "nm_setting_802_1x". All such guesses are subject to error: instead let's try to use the prefix of the _get_type() method instead, and only guess if that doesn't work. We do this for both class names and when detecting methods. An additional type with a "non-standard" underscored version (TestWi8021x) added to the everything.[ch] test suite to test proper conversion. GdkWindow and GObject have unusual get_type methods; add special quirks to handle these (at least until the methods are renamed upstream). (Slightly modified for PEP8 compliance by Colin Walters) Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions