Function

GLibMainContextnew

Declaration

GMainContext*
g_main_context_new (
  void
)

Description

Creates a new GMainContext structure.

Return value

Type: GMainContext

The new GMainContext.

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