G_TYPE_IS_BOXED failing with GdkColor
Somehow G_TYPE_IS_BOXED is failing with GdkColor
I see on terminal:
GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion 'G_TYPE_IS_BOXED (boxed_type)' failed
The function who call g_param_spec_boxed
is gtk_text_tag_class_init
that is why i'm reporting here.
This is the backtrace:
#0 0x00007ffff556fdc0 in g_log () at /usr/lib/libglib-2.0.so.0
#1 0x00007ffff5dbd571 in g_param_spec_boxed () at /usr/lib/libgobject-2.0.so.0
#2 0x00007ffff77bac0c in gtk_text_tag_class_init (klass=<optimized out>)
at gtktexttag.c:227
#3 0x00007ffff77bac0c in gtk_text_tag_class_intern_init (klass=<optimized out>) at gtktexttag.c:189
#4 0x00007ffff5dcf64a in g_type_class_ref () at /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff5db482e in g_object_new_valist ()
at /usr/lib/libgobject-2.0.so.0
#6 0x00007ffff5db49fa in g_object_new () at /usr/lib/libgobject-2.0.so.0
#7 0x00007ffff77bd570 in gtk_text_tag_new (name=<optimized out>)
at gtktexttag.c:909
#8 0x00007ffff779d505 in gtk_text_buffer_create_tag (buffer=0x5555557e2920, tag_name=0x0, first_property_name=0x5555555925b4 "weight") at gtktextbuffer.c:2507
#9 0x00005555555730c1 in math_equation_constructed (object=0x5555557e2920)
at math-equation.c:1645
#10 0x00007ffff5db28e8 in () at /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff5db3f6d in g_object_new_with_properties ()
at /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff5db4a22 in g_object_new () at /usr/lib/libgobject-2.0.so.0
#13 0x000055555556e5a5 in math_equation_new () at math-equation.c:112
#14 0x000055555556670b in main (argc=1, argv=0x7fffffffdf98) at mate-calc.c:214
The code which reproduces the error can be found here