GNOME Bugzilla – Bug 632494
introspection: remove --allow-unprefixed
Last modified: 2010-10-23 20:00:31 UTC
Remove --allow-unprefixed option to the scanner, and fix resulting problems: * theme.h and boxes.h are split into a main -header and a private header that includes stuff that is not generally useful and hard to introspect. * meta_display_get_atom() and meta_window_get_window_type_atom() are marked as (skip) * Fix annotation: (element-type Strut) => (element-type Meta.Strut)
Created attachment 172636 [details] [review] introspection: remove --allow-unprefixed
Review of attachment 172636 [details] [review]: Why does theme.h continue to exist? I don't see MetaTheme referenced elsewhere. Otherwise looks fine.
Review of attachment 172636 [details] [review]: Also, thanks for doing this!
(In reply to comment #2) > Review of attachment 172636 [details] [review]: > > Why does theme.h continue to exist? I don't see MetaTheme referenced > elsewhere. > > Otherwise looks fine void meta_preview_set_theme (MetaPreview *preview, MetaTheme *theme); used by the theme preview code in gnome-control-center.
Oh, I see, which you can get from theme-parser.h. Let's move the meta_theme_load prototype into theme.h and kill off theme-parser.h then?
(In reply to comment #5) > Oh, I see, which you can get from theme-parser.h. Let's move the > meta_theme_load prototype into theme.h and kill off theme-parser.h then? Guess it depends on whether you think header files should be organized by .c file contents or by public objects. I'm happy to go with the public object story and kill theme-parser.h. Will push things that way.
Attachment 172636 [details] pushed as 52bc675 - introspection: remove --allow-unprefixed