2008-01-08 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-model.c:
	(clutter_model_appendv),
	(clutter_model_prependv): Fix the columns length pre-condition
This commit is contained in:
Emmanuele Bassi 2008-01-08 14:12:11 +00:00
parent 164cb1d18a
commit 6fdeda0e8f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-01-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-model.c:
(clutter_model_appendv),
(clutter_model_prependv): Fix the columns length pre-condition
2008-01-07 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-07 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-model-default.[ch]: Remove the ClutterModelDefault * clutter/clutter-model-default.[ch]: Remove the ClutterModelDefault

View File

@ -798,7 +798,7 @@ clutter_model_appendv (ClutterModel *model,
gboolean resort = FALSE; gboolean resort = FALSE;
g_return_if_fail (CLUTTER_IS_MODEL (model)); g_return_if_fail (CLUTTER_IS_MODEL (model));
g_return_if_fail (n_columns < clutter_model_get_n_columns (model)); g_return_if_fail (n_columns <= clutter_model_get_n_columns (model));
g_return_if_fail (columns != NULL); g_return_if_fail (columns != NULL);
g_return_if_fail (values != NULL); g_return_if_fail (values != NULL);
@ -889,7 +889,7 @@ clutter_model_prependv (ClutterModel *model,
gboolean resort = FALSE; gboolean resort = FALSE;
g_return_if_fail (CLUTTER_IS_MODEL (model)); g_return_if_fail (CLUTTER_IS_MODEL (model));
g_return_if_fail (n_columns < clutter_model_get_n_columns (model)); g_return_if_fail (n_columns <= clutter_model_get_n_columns (model));
g_return_if_fail (columns != NULL); g_return_if_fail (columns != NULL);
g_return_if_fail (values != NULL); g_return_if_fail (values != NULL);