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 667742 - entries argument of gtk_clutter_init_with_args not annotated as array
entries argument of gtk_clutter_init_with_args not annotated as array
Status: RESOLVED FIXED
Product: clutter-gtk
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: clutter-gtk maintainer(s)
clutter-gtk maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-01-12 10:36 UTC by Evan Nemerson
Modified: 2012-01-12 21:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
introspection: add missing annotation on gtk_clutter_init_with_args (1.28 KB, patch)
2012-01-12 10:37 UTC, Evan Nemerson
committed Details | Review

Description Evan Nemerson 2012-01-12 10:36:57 UTC
The entries argument to gtk_clutter_init_with_args is currently missing (array zero-terminated=1).
Comment 1 Evan Nemerson 2012-01-12 10:37:46 UTC
Created attachment 205069 [details] [review]
introspection: add missing annotation on gtk_clutter_init_with_args
Comment 2 Emmanuele Bassi (:ebassi) 2012-01-12 11:03:56 UTC
the argv array is not zero terminated: its length is the argc argument - see also:

clutter_init():
http://git.gnome.org/browse/clutter/tree/clutter/clutter-main.c#n2031

gtk_init():
http://git.gnome.org/browse/gtk+/tree/gtk/gtkmain.c#n1001
Comment 3 Emmanuele Bassi (:ebassi) 2012-01-12 11:04:35 UTC
ugh, sorry: I should get a stronger coffee.
Comment 4 Emmanuele Bassi (:ebassi) 2012-01-12 11:04:56 UTC
Review of attachment 205069 [details] [review]:

looks good to me.