After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623777 - G_TYPE_STRV in signals generate wrong docs
G_TYPE_STRV in signals generate wrong docs
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: 1.16
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-07 19:54 UTC by Christian Persch
Modified: 2010-07-08 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix GStrv boxed types in signal handlers (2.20 KB, patch)
2010-07-07 19:55 UTC, Christian Persch
committed Details | Review

Description Christian Persch 2010-07-07 19:54:08 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.
Comment 1 Christian Persch 2010-07-07 19:55:20 UTC
Created attachment 165436 [details] [review]
Fix GStrv boxed types in signal handlers

Output "GStrv" as the argument type, not "GStrv*".

Bug #623777.