bug in stringlist ?



Hello,

I try to use stringlist (prop_text.c .h) with a new simple object.
For a attribut GList * foo, if foo has a minimum of one element a bug
appear when the object is draw (if foo is null no bug).
After analysis i think that dia failed on diagram_tree_add_object ...

<extract of diagram.c>
...
diagram_add_object(Diagram *dia, DiaObject *obj)
{
  layer_add_object(dia->data->active_layer, obj);
  diagram_modified(dia);
  diagram_tree_add_object(diagram_tree(), dia, obj);
}
...
probably i don't use correctly this type ??
Sommeone have an example of uses for this type ?

Lidiriel.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]