mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-15 00:36:19 +01:00
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:
parent
2d0f1b3093
commit
294bf64206
3
ginfo.c
3
ginfo.c
@ -477,7 +477,8 @@ g_function_info_get_flags (GIFunctionInfo *info)
|
|||||||
|
|
||||||
flags = 0;
|
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;
|
flags = flags | GI_FUNCTION_IS_METHOD;
|
||||||
|
|
||||||
if (blob->constructor)
|
if (blob->constructor)
|
||||||
|
Loading…
Reference in New Issue
Block a user