2008-10-24 Lucas Rocha <lucasr@gnome.org>
Bug 557623 - Constructors shouldn't be flagged as methods.
* girepository/ginfo.c (g_function_info_get_flags): ditto.
svn path=/trunk/; revision=805
+2008-10-24 Lucas Rocha <lucasr@gnome.org>
+
+ Bug 557623 - Constructors shouldn't be flagged as methods.
+
+ * girepository/ginfo.c (g_function_info_get_flags): ditto.
+
2008-10-24 Johan Dahlin <johan@gnome.org>
* giscanner/scannerparser.y:
flags = 0;
- if (base->container != NULL)
+ /* Make sure we don't flag Constructors as methods */
+ if (base->container != NULL && !blob->constructor)
flags = flags | GI_FUNCTION_IS_METHOD;
if (blob->constructor)