Hi,everyone: I meet a problem about g_timeout_add function in dns.c file.Because I can not use the original function gtk_timeout_add based on gtk,so I replace is whit g_timeout_add,just like: dns_server[channel].timeout_id = g_timeout_add(200,(GSourceFunc)Dns_timeout_client,GINT_TO_POINTER(dns_server[channel].channel)); the origianl code is: dns_server[channel].timeout_id = gtk_timeout_add(200, (GtkFunction)Dns_timeout_client, GINT_TO_POINTER(dns_server[channel].channel)); but after I do this, the function g_timeout_add looks like no useful,so I want to get the answer,is it why???? My target is to trige the function Dns_timeout_client every 200ms,please help me. thank you:)