From eabf14a6ceb978c7a3692e3e2932179a274db5b9 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 24 Sep 2010 23:29:23 +0200 Subject: [PATCH] Add g_return_val_if_fail to katze_array_peek_items --- katze/katze-array.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/katze/katze-array.c b/katze/katze-array.c index 9cf0cbaa..2c46c950 100644 --- a/katze/katze-array.c +++ b/katze/katze-array.c @@ -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; } -- 2.39.5