aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-glib-properties-client.c8
1 files changed, 5 insertions, 3 deletions
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;
}