From: Christian Dywan Date: Fri, 24 Sep 2010 21:29:23 +0000 (+0200) Subject: Add g_return_val_if_fail to katze_array_peek_items X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eabf14a6ceb978c7a3692e3e2932179a274db5b9;p=midori Add g_return_val_if_fail to katze_array_peek_items --- 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; }