g_irepository_get_version

This function returns the loaded version associated with the given namespace @namespace_.

Note: The namespace must have already been loaded using a function such as g_irepository_require() before calling this function.