Method

GLibSourceref

Declaration

GSource*
g_source_ref (
  GSource* source
)

Description

Increases the reference count on a source by one.

Return value

Type: GSource

source.

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