GNOME Bugzilla – Bug 648622
Missing include: gtksourcestyleschememanager.h
Last modified: 2011-04-27 08:19:01 UTC
Normally, only this include is allowed: > #include <gtksourceview/gtksourceview.h> But I have this error: > unknown type name ‘GtkSourceStyleSchemeManager’ So I have to add this line: > #include <gtksourceview/gtksourcestyleschememanager.h>
that's not how gtksourceview works, we did not move to one single .h like gtk did I guess we could switch, but it would be a bit strange since gtksourceview.h would be both the "catch-all" header but also the header of the view widget
OK I thought the rule of the single .h to include applied for all gnome libraries. A solution would be to create another .h file like 'gtksourceview/gsv.h', or rename gtksourceview.h to gtksourceview-internal.h, or ...
dunno, I think we should keep it as it is, at least for now. Marking this as WONTFIX. Maybe for gtksourceview 4 we could think again on this.