ref_main_context


Description:

public MainContext ref_main_context ()

Returns the MainContext on which event sources for this are to be attached.

The returned MainContext is referenced for thread-safety and must be unreferenced with g_main_context_unref when finished with it.

Parameters:

this

an Source

Returns:

a MainContext