ref

fun ref(): Resource

Atomically increments the reference count of @resource by one. This function is MT-safe and may be called from any thread.

Return

The passed in #GResource

Since

2.32