Add g_return_val_if_fail to katze_array_peek_items
This commit is contained in:
parent
74fa1fabd4
commit
eabf14a6ce
1 changed files with 2 additions and 0 deletions
|
@ -482,6 +482,8 @@ katze_array_get_items (KatzeArray* array)
|
|||
GList*
|
||||
katze_array_peek_items (KatzeArray* array)
|
||||
{
|
||||
g_return_val_if_fail (KATZE_IS_ARRAY (array), NULL);
|
||||
|
||||
return array->items;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue