Bug 557623 - Constructors shouldn't be flagged as methods.

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
This commit is contained in:
Lucas Rocha 2008-10-24 09:54:34 +00:00 committed by Lucas Almeida Rocha
parent 2d0f1b3093
commit 294bf64206

View File

@ -477,7 +477,8 @@ g_function_info_get_flags (GIFunctionInfo *info)
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)