Method
GLibMainContextprepare
Declaration [src]
gboolean
g_main_context_prepare (
  GMainContext* context,
  gint* priority
)
Description [src]
Prepares to poll sources within a main loop. The resulting information
for polling is determined by calling g_main_context_query().
You must have successfully acquired the context with
g_main_context_acquire() before you may call this function.
Parameters
- context
- 
            Type: GMainContextA GMainContext(ifNULL, the global-default main context will be used).The argument can be NULL.
- priority
- 
            Type: gint*Location to store priority of highest priority source already ready. The argument will be set by the function. The argument can be NULL.