Method

GLibSourceref

Declaration [src]

GSource*
g_source_ref (
  GSource* source
)

Description [src]

Increases the reference count on a source by one.

Return value

Type: GSource

source.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.