diff options
author | C. Scott Ananian <cscott@litl.com> | 2009-05-19 20:17:08 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-05-20 12:13:15 -0400 |
commit | aa94335b84d17512281ab3ed4cd20fb1fad9dcd8 (patch) | |
tree | 026c1f2e46d42743e211b4374ddfe12d529e400d /Makefile.am | |
parent | 50dd263dbe16ecf8e81c3f674d23cb086f79ca7e (diff) | |
download | gobject-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