[PATCH] gtk-doc stuff

William Jon McCann mccann at jhu.edu
Tue Mar 13 12:28:49 PDT 2007


On 3/13/07, Richard Hughes <hughsient at gmail.com> wrote:
> On Mon, 2007-03-12 at 16:39 -0400, William Jon McCann wrote:
> > Yeah, seems that gtk-doc is misidentifying libhal_psi_get_type as the
> > initializer for a GType with prototype:
> > GType libhal_psi_get_type (void)
> >
> > Which is obviously wrong.  I'm don't know that much about gtk-doc but
> > it seems like adding a an empty libhal.types file would work... anyone
> > know if there is a proper way?
>
> This is a release blocker IMO, as RPM's can't be built with this bug. I
> really can't see why gtk-doc identifies libhal_psi_get_type as a GType,
> other than the "_get_type" suffix, which would make gtk-doc really dumb
> if that's the problem.

That's how it seems to work...

See also:
http://bugzilla.gnome.org/show_bug.cgi?id=386508

It seems like the empty libhal.types is the recommended way but then
we seem to lose out of some scanning for the sections.  So, not sure.

Jon


More information about the hal mailing list