Use g_get_current_time() instead of g_source_get_time() on modern glib due it is still giving problems on Ubuntu Linux 64 bits