Function

GLibmain_current_source

Declaration

GSource*
g_main_current_source (
  void
)

Description

Returns the currently firing source for this thread.

Available since:2.12

Return value

Returns: GSource
 

The currently firing source or NULL.

 The data is owned by the called function.
 The return value can be NULL.