2008-09-19 Emmanuele Bassi <ebassi@linux.intel.com>

* clutter/x11/clutter-backend-x11.c: Properly document the
	usage of clutter_x11_set_display().

	* clutter/x11/clutter-x11.h: clutter_x11_set_display() is
	public API and should be declared in the header we install.
This commit is contained in:
Emmanuele Bassi
2008-09-19 10:28:51 +00:00
parent 50a248764c
commit 57bc2313d0
3 changed files with 24 additions and 15 deletions

View File

@ -411,8 +411,14 @@ clutter_x11_get_default_display (void)
* clutter_x11_set_display:
* @xdpy: pointer to a X display connection.
*
* Sets the display connection clutter should use; must be called
* before clutter_init().
* Sets the display connection Clutter should use; must be called
* before clutter_init(), clutter_init_with_args() or other functions
* pertaining Clutter's initialization process.
*
* If you are parsing the command line arguments by retrieving Clutter's
* #GOptionGroup with clutter_get_option_group() and calling
* g_option_context_parse() yourself, you should also call
* clutter_x11_set_display() before g_option_context_parse().
*
* Since: 0.8
*/