Resetting GSource timeout.

I am using GSource for registering a callback after 'x' seconds. I want to change this 'x' value before a callback gets called.
Is there any way to do this without destroying a GSource? (g_source_destroy(GSource *)). I don't want to g_free my source
hence need some method to reset a timer.

Thank you.
Akshay Sumant.

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