28 Aug
2013
28 Aug
'13
4:08 p.m.
2013/8/28 Arshdeep Singh <moduli16@...400...>:
RecolorWheel* wheel = (RecolorWheel*) (((RecolorWheelSelector*)(rsel))->getWheel()) ;
This is a forced cast. Change this to GObject casts, e.g.
RecolorWheel *wheel = RECOLOR_WHEEL(RECOLOR_WHEEL_SELECTOR(rsel)->getWheel());
This way if you made a mistake here, you'll get a runtime warning.
add_node_to_recolor_wheel (wheel, obj->getId() , temp );
The problem might also be inside this function.
Regards, Krzysztof