From ff7f2398283f5059e3b8e0149e0582ee7d30ad21 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 23 Mar 2011 12:35:19 +0100 Subject: Use more flexible error codes --- test/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/control.c') diff --git a/test/control.c b/test/control.c index 2d954f9..47c2fab 100644 --- a/test/control.c +++ b/test/control.c @@ -262,7 +262,7 @@ void fill_tree_store(GtkTreeStore *tree_store, struct uca_camera *cam) get_first_level_root(tree_store, &iter, tokens[0]); find_recursively(tree_store, &iter, &child, tokens, 1); - if (result == UCA_ERR_PROP_INVALID) + if (result != UCA_NO_ERROR) g_sprintf(value_string, "n/a"); int count = 0; -- cgit v1.2.3