use a local version (copy) of the G_SOURCE_FUNC macro, since it is not available...