Re: gtk-doc and other fobject based libs

On Tue, 2004-10-05 at 16:35 +0200, Stefan Kost wrote:
> hi hi,
> we are using gtk-doc to document a librari that uses gstreamer (which is gobject
> based). In our library we have objects that have object-properties with types
> from the gstreamer libs. The problem now is that these properties do not appear
> in the docs. Instead we get some gobject errors, when gtkdoc-scangobj runs.
> I assume that the problem is that the c program that gets build is only calling
> g_type_init() but not gst_init(). For gtk it is solved by having
> 'gtkdoc-scanobj'. Am I right that this is the the cause of the problem?
> Are there any know workaround or better solutions?

Have you tried using the --type-init-func argument of gtkdoc-scangobj ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]