[docs] Calling g_object_ref() will not dispose an object
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 11 Mar 2009 13:55:01 +0000 (13:55 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 11 Mar 2009 13:58:31 +0000 (13:58 +0000)
The right way to dispose a PangoContext is to call g_object_unref(),
not g_object_ref().

clutter/clutter-actor.c

index f15effb..511fa60 100644 (file)
@@ -8018,7 +8018,7 @@ clutter_actor_get_pango_context (ClutterActor *self)
  *
  * 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
  *
  * Since: 1.0