summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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