mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
You can have instance_real_class_bsa be non-NULL, but still the class not
Fri Sep 26 17:24:53 2003 Owen Taylor <otaylor@redhat.com> * gtype.c (g_type_instance_get_private): You can have instance_real_class_bsa be non-NULL, but still the class not be in the bsa. (Found by Kris Rietveld)
This commit is contained in:
parent
c4105a06e6
commit
61d764c54e
@ -1,3 +1,9 @@
|
||||
Fri Sep 26 17:24:53 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtype.c (g_type_instance_get_private): You can
|
||||
have instance_real_class_bsa be non-NULL, but still
|
||||
the class not be in the bsa. (Found by Kris Rietveld)
|
||||
|
||||
2003-09-15 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib-genmarshal.c (complete_out_arg): Don't generate code
|
||||
|
@ -3401,7 +3401,11 @@ g_type_instance_get_private (GTypeInstance *instance,
|
||||
* so figure the instances real class first
|
||||
*/
|
||||
if (instance_real_class_bsa)
|
||||
class = instance_real_class_get (instance);
|
||||
{
|
||||
class = instance_real_class_get (instance);
|
||||
if (!class)
|
||||
class = instance->g_class;
|
||||
}
|
||||
else
|
||||
class = instance->g_class;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user