GLib-GObject-CRITICAL

Mike Massonnet mmassonnet at gmail.com
Mon Jan 24 08:29:44 CET 2011


Hi Robert,

2011/1/24 Robert Holmes <grumpywolfe at gmail.com>:
> I would like to say hi to all on the list. I am a puplet developer of
> puppylinux I am working on a puplet that is all Xfce-4.8. Mostly it is going
> good but was having some problems with gseal error so compiled gtk+-2.23.0
> and got raid of that error but now have this.
>
> xfdesktop[6625]: starting up
>
> (xfdesktop:6625): GLib-GObject-CRITICAL **: g_type_class_add_private:
> assertion `private_size > 0' failed
>
> (xfdesktop:6625): GLib-GObject-WARNING **: g_type_instance_get_private()
> requires a prior call to g_type_class_add_private()
>
> (xfdesktop:6625): GLib-GObject-WARNING **: g_type_instance_get_private()
> requires a prior call to g_type_class_add_private()
>
> (xfdesktop:6625): GLib-GObject-WARNING **: g_type_instance_get_private()
> requires a prior call to g_type_class_add_private()
>
> (xfdesktop:6625): GLib-GObject-WARNING **: g_type_instance_get_private()
> requires a prior call to g_type_class_add_private()
>
> If anybody can give me any clues I would appreciate it. I have tried by
> compiling glib-2.27.92 which is the latest out and this did not take care of
> it.

It's a harmless warning, as stated this shows the "private" struct an
is empty struct and therefore cannot be used with
g_type_class_add_private.

I attached a patch here:
http://bugzilla.xfce.org/show_bug.cgi?id=7175

BTW, compiling Xfce components with GSEAL turned on is expected to have issues.

Cheers
-- 
Mike



More information about the Xfce mailing list