After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648622 - Missing include: gtksourcestyleschememanager.h
Missing include: gtksourcestyleschememanager.h
Status: RESOLVED WONTFIX
Product: gtksourceview
Classification: Platform
Component: General
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-25 16:31 UTC by Sébastien Wilmet
Modified: 2011-04-27 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2011-04-25 16:31:17 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>
Comment 1 Paolo Borelli 2011-04-25 16:43:04 UTC
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
Comment 2 Sébastien Wilmet 2011-04-25 16:49:44 UTC
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 ...
Comment 3 Ignacio Casal Quinteiro (nacho) 2011-04-27 08:19:01 UTC
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.