summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-05-20 13:38:33 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-05-20 13:38:33 +0300
commit976f4124ad6b76a3619107a73479be9423d9c84e (patch)
tree722e0941df4cdf27f14c5114d5f7747cef0a8d8f
parent3a53fc7331f400cf83d4000ff221d78412f8fb7d (diff)
fix compilation for test
-rw-r--r--src/tests/suite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/suite.c b/src/tests/suite.c
index a24b61c..4d531f7 100644
--- a/src/tests/suite.c
+++ b/src/tests/suite.c
@@ -173,10 +173,10 @@ START_TEST(test_wdg)
173 ctx = gui_context_new(); 173 ctx = gui_context_new();
174 fail_if(!ctx); 174 fail_if(!ctx);
175 175
176 Dep_Id wdg_id = gui_context_dep_data_set(ctx, "class_name"); 176 Dep_Id wdg_id = gui_context_dep_data_set(ctx, wdg_name);
177 wdg_tmp = wdg_new(ctx, wdg_name, wdg_id); 177 wdg_tmp = wdg_new(ctx, "class_name", wdg_id);
178 fail_if(!wdg_tmp); 178 fail_if(!wdg_tmp);
179 wdg = wdg_get(wdg_context_get(wdg_tmp), NULL, wdg_id); 179 wdg = wdg_get(wdg_context_get(wdg_tmp), wdg_id);
180 fail_if(!wdg); 180 fail_if(!wdg);
181 ck_assert_str_eq(wdg_name_get(wdg), wdg_name); 181 ck_assert_str_eq(wdg_name_get(wdg), wdg_name);
182 182