GNOME Bugzilla – Bug 623777
G_TYPE_STRV in signals generate wrong docs
Last modified: 2010-07-08 11:53:07 UTC
Attaching testcase as patch to tests/gobject . It's a VOID:BOXED signal with a G_TYPE_STRV as the boxed. The generated docs for the signal is this: The "strings-changed" signal void user_function (GtkdocObject *arg0, GStrv *arg1, gpointer user_data) : Run Last / No Recursion / No Hooks This is wrong. GStrv is "char **" so the argument to the signal handler should be "GStrv", not "GStrv*". The simplest solution is to simply hardcode the exception for GStrv in gtkdoc-scangobj.in.
Created attachment 165436 [details] [review] Fix GStrv boxed types in signal handlers Output "GStrv" as the argument type, not "GStrv*". Bug #623777.