Strange gtk-doc warnings



Gtk-doc experts:

I sent this email on June 28th, but didn't get a response, so I'm
resending.

> When I am trying to build the ATK gtk-docs I get these warnings:
> 
> --gtk-doc warning start--
> 
> *** Building SGML ***
> cd . && \
>         gtkdoc-mkdb --module=atk --source-dir=../atk 
> Cannot parse structure field G_CONST_RETURN gchar*   (*get_description)   
> (AtkAction         *action,
>                                                 gint              i) at 
> /sgnome/gnome2.0/sparc-solaris/bin/gtkdoc-mkdb line 2473, <INPUT> chunk 5.
> Cannot parse structure field G_CONST_RETURN gchar*   (*get_keybinding)    
> (AtkAction         *action,
>                                                 gint              i) at 
> /sgnome/gnome2.0/sparc-solaris/bin/gtkdoc-mkdb line 2473, <INPUT> chunk 5.
> Cannot parse structure field G_CONST_RETURN gchar* ( *get_image_description) 
> (AtkImage              *image) at 
/sgnome/gnome2.0/sparc-solaris/bin/gtkdoc-mkdb 
> line 2473, <INPUT> chunk 85.
> 
> --gtk-doc warning end--
> 
> Here is an example of the code that seems to be making it puke:
> 
> --example code start--
> 
> struct _AtkImageIface
> {
>   GTypeInterface parent;
> 
>   G_CONST_RETURN gchar* ( *get_image_description)
>     (AtkImage		 *image);
>   void			( *get_image_size)	  
>     (AtkImage		 *image,
>      gint			 *height,
>      gint			 *width);
>   gboolean		( *set_image_description) 
>     (AtkImage		 *image,
>     const gchar		 *description);
> };
> 
> --example code stop--
> 
> gtk-doc seems to dislike the G_CONST_RETURN macro.  Is there a way
> to make gtk-doc happier?







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