forked from AuroraMiddleware/gtk
Merge branch 'wip/otte/for-master' into 'master'
Wip/otte/for master See merge request GNOME/gtk!843
This commit is contained in:
commit
061b36e6e4
@ -486,7 +486,7 @@ gtk_flatten_list_model_set_model (GtkFlattenListModel *self,
|
|||||||
g_return_if_fail (model == NULL || G_IS_LIST_MODEL (model));
|
g_return_if_fail (model == NULL || G_IS_LIST_MODEL (model));
|
||||||
if (model)
|
if (model)
|
||||||
{
|
{
|
||||||
g_return_if_fail (g_list_model_get_item_type (model) == G_TYPE_LIST_MODEL);
|
g_return_if_fail (g_type_is_a (g_list_model_get_item_type (model), G_TYPE_LIST_MODEL));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self->model == model)
|
if (self->model == model)
|
||||||
|
Loading…
Reference in New Issue
Block a user