projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e430903
)
[docs] Calling g_object_ref() will not dispose an object
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 11 Mar 2009 13:55:01 +0000
(13:55 +0000)
committer
Emmanuele 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
patch
|
blob
|
history
diff --git
a/clutter/clutter-actor.c
b/clutter/clutter-actor.c
index
f15effb
..
511fa60
100644
(file)
--- a/
clutter/clutter-actor.c
+++ b/
clutter/clutter-actor.c
@@
-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_
un
ref()
* on the returned value to deallocate its resources
*
* Since: 1.0