[PATCH] gtk-doc stuff

William Jon McCann mccann at jhu.edu
Mon Mar 12 13:39:56 PDT 2007


On 3/12/07, David Zeuthen <david at fubar.dk> wrote:
> On Thu, 2007-03-08 at 13:33 -0500, William Jon McCann wrote:
> > Hi,
> >
> > Here's a patch to fix up some gtk-doc issues.
> >  * It installs separate manuals for each of the libraries
> >  * Adds GLIB_CFLAGS/LIBS so it builds
> >  * Avoids scanning the hald directory (by using separate manuals)
> >  * Adds some licence info to the manuals
> >  * Adds an index to each manual
> >  * Fixes up maintainer-clean
> >
> > Look OK?
>
> Yup, thanks, I've committed this. I'm seeing a distcheck failure though.
> Any ideas?

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?

Also, we should probably add some input checking to the public
functions in libhal ala return_if_fail().

Jon


More information about the hal mailing list