The question is simply in the title, if I have a function I want to use via a g_timeout_add(), but this function is a class member function, is there any way I can use it with g_timeout_add()?
The question is simply in the title, if I have a function I want
Share
You need to use a trampoline function, e.g.:
See this question on why you should use free functions if you want to write portable code.