summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-10 15:00:23 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-10 15:01:02 -0800
commit9b924408cdfaa0129bb97155d961da401b95a819 (patch)
treef3d737fa798142e01a174892c052000e16393b1b
parentb7ea8fc01e7eaacf7e7a38f79a654811d1a5b26f (diff)
elementary: fix elm_code widget tests by actually setting a font.
-rw-r--r--src/bin/elementary/test_code.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/elementary/test_code.c b/src/bin/elementary/test_code.c
index 906a36a802..92f868fece 100644
--- a/src/bin/elementary/test_code.c
+++ b/src/bin/elementary/test_code.c
@@ -165,6 +165,7 @@ _elm_code_test_diff_inline_setup(Evas_Object *parent)
165 165
166 code = elm_code_create(); 166 code = elm_code_create();
167 diff = efl_add(ELM_CODE_WIDGET_CLASS, parent, elm_obj_code_widget_code_set(efl_added, code)); 167 diff = efl_add(ELM_CODE_WIDGET_CLASS, parent, elm_obj_code_widget_code_set(efl_added, code));
168 elm_obj_code_widget_font_set(diff, NULL, 14);
168 169
169 evas_object_size_hint_weight_set(diff, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 170 evas_object_size_hint_weight_set(diff, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
170 evas_object_size_hint_align_set(diff, EVAS_HINT_FILL, EVAS_HINT_FILL); 171 evas_object_size_hint_align_set(diff, EVAS_HINT_FILL, EVAS_HINT_FILL);
@@ -186,6 +187,7 @@ _elm_code_test_diff_setup(Evas_Object *parent)
186 elm_code_file_open(code, PACKAGE_DATA_DIR "/testdiff.diff"); 187 elm_code_file_open(code, PACKAGE_DATA_DIR "/testdiff.diff");
187 188
188 diff = elm_code_diff_widget_add(parent, code); 189 diff = elm_code_diff_widget_add(parent, code);
190 elm_code_diff_widget_font_set(diff, NULL, 14);
189 return diff; 191 return diff;
190} 192}
191 193