Re: gtk-doc and other fobject based libs



hi hi,

maybe that can be adde to some README. I found it out meanwhile that in
Makefile.am I can do:
SCANOBJ_OPTIONS=--type-init-func="g_type_init();gst_init(&argc,&argv)"

That solved the gobject problem I have reported before as well ;-)

Stefan

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?
> 
> Ciao
>   Stefan
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gtk-doc-list mailing list
> gtk-doc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-doc-list

-- 
      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 301166
|      ///           04277 Leipzig      04251 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -
begin:vcard
fn:Stefan Kost
n:Kost;Stefan
org:HTWK Leipzig;FB. IMN
adr:;;Postfach 301166;Leipzig;;04251;Germany
email;internet:kost imn htwk-leipzig de
title:Dipl. Informatiker
tel;work:+49341 30766440
tel;home:+49341 2253538
tel;cell:+49178 3183742
x-mozilla-html:FALSE
url:http://www.imn.htwk-leipzig.de/~kost/about.html
version:2.1
end:vcard



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