aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-05-15 15:19:12 -0500
committerTed Gould <ted@canonical.com>2009-05-15 15:19:12 -0500
commitcc8b4e70486af063785d0dd6ea42c382a2d84aa4 (patch)
tree6df6103dae400875ab065b0419afa490a955f422 /tests
parent9f60fb948c1be4f681332445cf44fb6dc151fe90 (diff)
downloadlibdbusmenu-cc8b4e70486af063785d0dd6ea42c382a2d84aa4.tar.gz
libdbusmenu-cc8b4e70486af063785d0dd6ea42c382a2d84aa4.tar.bz2
libdbusmenu-cc8b4e70486af063785d0dd6ea42c382a2d84aa4.zip
Oops, that didn't compile.
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;
}