mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
2007-12-10 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-model.c (clutter_model_iter_get_value): Initialise the passed GValue like the other getters do.
This commit is contained in:
parent
be8fdbe5c1
commit
002adaf305
@ -1,3 +1,8 @@
|
||||
2007-12-10 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-model.c (clutter_model_iter_get_value): Initialise
|
||||
the passed GValue like the other getters do.
|
||||
|
||||
2007-12-10 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-model.h:
|
||||
|
@ -2081,12 +2081,15 @@ clutter_model_iter_get_value (ClutterModelIter *iter,
|
||||
GValue *value)
|
||||
{
|
||||
ClutterModelIterClass *klass;
|
||||
ClutterModel *model;
|
||||
|
||||
g_return_if_fail (CLUTTER_IS_MODEL_ITER (iter));
|
||||
|
||||
klass = CLUTTER_MODEL_ITER_GET_CLASS (iter);
|
||||
g_return_if_fail (klass->get_value != NULL);
|
||||
|
||||
|
||||
model = iter->priv->model;
|
||||
g_value_init (value, clutter_model_get_column_type (model, column));
|
||||
klass->get_value (iter, column, value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user