mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
[docs] Calling g_object_ref() will not dispose an object
The right way to dispose a PangoContext is to call g_object_unref(), not g_object_ref().
This commit is contained in:
parent
e430903acd
commit
7a5cea44dd
@ -8018,7 +8018,7 @@ clutter_actor_get_pango_context (ClutterActor *self)
|
|||||||
*
|
*
|
||||||
* See also clutter_actor_get_pango_context().
|
* See also clutter_actor_get_pango_context().
|
||||||
*
|
*
|
||||||
* Return value: the newly created #PangoContext. Use g_object_ref()
|
* Return value: the newly created #PangoContext. Use g_object_unref()
|
||||||
* on the returned value to deallocate its resources
|
* on the returned value to deallocate its resources
|
||||||
*
|
*
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user