mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
2008-09-19 Emmanuele Bassi <ebassi@linux.intel.com>
* clutter/clutter-main.c: Properly document the clutter_get_option_group() function and the invariant that after parsing Clutter's option group the library will be initialized. (Thanks to Tomas Frydrych for pointing this out)
This commit is contained in:
parent
57bc2313d0
commit
6d17aa1a66
@ -1,3 +1,11 @@
|
|||||||
|
2008-09-19 Emmanuele Bassi <ebassi@linux.intel.com>
|
||||||
|
|
||||||
|
* clutter/clutter-main.c: Properly document the
|
||||||
|
clutter_get_option_group() function and the invariant that
|
||||||
|
after parsing Clutter's option group the library will be
|
||||||
|
initialized. (Thanks to Tomas Frydrych for pointing this
|
||||||
|
out)
|
||||||
|
|
||||||
2008-09-19 Emmanuele Bassi <ebassi@linux.intel.com>
|
2008-09-19 Emmanuele Bassi <ebassi@linux.intel.com>
|
||||||
|
|
||||||
* clutter/x11/clutter-backend-x11.c: Properly document the
|
* clutter/x11/clutter-backend-x11.c: Properly document the
|
||||||
|
@ -1180,7 +1180,25 @@ post_parse_hook (GOptionContext *context,
|
|||||||
* g_option_context_add_group(), if you are using g_option_context_parse()
|
* g_option_context_add_group(), if you are using g_option_context_parse()
|
||||||
* to parse your commandline arguments.
|
* to parse your commandline arguments.
|
||||||
*
|
*
|
||||||
* Return value: a GOptionGroup for the commandline arguments
|
* Calling g_option_context_parse() with Clutter's #GOptionGroup will result
|
||||||
|
* in Clutter's initialization. That is, the following code:
|
||||||
|
*
|
||||||
|
* |[
|
||||||
|
* g_option_context_set_main_group (context, clutter_get_option_group ());
|
||||||
|
* res = g_option_context_parse (context, &argc, &argc, NULL);
|
||||||
|
* ]|
|
||||||
|
*
|
||||||
|
* is functionally equivalent to:
|
||||||
|
*
|
||||||
|
* |[
|
||||||
|
* clutter_init (&argc, &argv);
|
||||||
|
* ]|
|
||||||
|
*
|
||||||
|
* After g_option_context_parse() on a #GOptionContext containing the
|
||||||
|
* Clutter #GOptionGroup has returned %TRUE, Clutter is guaranteed to be
|
||||||
|
* initialized.
|
||||||
|
*
|
||||||
|
* Return value: a #GOptionGroup for the commandline arguments
|
||||||
* recognized by Clutter
|
* recognized by Clutter
|
||||||
*
|
*
|
||||||
* Since: 0.2
|
* Since: 0.2
|
||||||
|
Loading…
Reference in New Issue
Block a user