Re: unable to have correct signal prototype in documentation.



> and gtk-doc always give me, no matter what the prototype is : 
> -------------------------
> "menu-activate"
>             void        user_function      (LimdiDoc *limdidoc,
>                                             gpointer user_data);
> -------------------------
> 
> 
> Marshaller for this signal is limdi_marshal_VOID__POINTER_POINTER so I
> had, at least, expected :
> ------------------------- 
> "menu-activate"
>             void        user_function      (LimdiDoc *limdidoc,
>      gpointer arg1,
>      gpointer arg2,
>                                            gpointer user_data);
> -------------------------
>
> For information :
> 
> i'm using 
> gtk-doc 0.9
> and gtk+-2.0.3
> 
> Any idea ?

gtk-doc is just a hack :-( The signal prototypes for know gtk signals are
hardwired in gtkdoc-scangobj somewhere. We probably should replace that
by some magic to figure out the prototype based on the marshaller, as you 
say. 

Matthias




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