From cc8b4e70486af063785d0dd6ea42c382a2d84aa4 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 15 May 2009 15:19:12 -0500 Subject: Oops, that didn't compile. --- tests/test-glib-properties-client.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test-glib-properties-client.c b/tests/test-glib-properties-client.c index 244b7c4..7fe9b8f 100644 --- a/tests/test-glib-properties-client.c +++ b/tests/test-glib-properties-client.c @@ -33,9 +33,11 @@ static gboolean passed = TRUE; static gboolean verify_props (DbusmenuMenuitem * mi, gchar ** properties) { + if (properties == NULL) { + return TRUE; + } - - + return TRUE; } static gboolean @@ -48,7 +50,7 @@ verify_root_to_layout(DbusmenuMenuitem * mi, proplayout_t * layout) return FALSE; } - if (!veryify_props(mi, layout->properties)) { + if (!verify_props(mi, layout->properties)) { return FALSE; } -- cgit v1.2.3