Function

Purpleget_option_group

since: 3.0

Declaration [src]

GOptionGroup*
purple_get_option_group (
  void
)

Description [src]

Returns a GOptionGroup for the commandline arguments recognized by LibPurple. You should add this option group to your GOptionContext with g_option_context_add_group(), if you are using g_option_context_parse() to parse your commandline arguments.

Available since: 3.0

Return value

Type: GOptionGroup

A GOptionGroup for the commandline arguments recognized by LibPurple.

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