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)
+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
* 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;