summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-02-14 07:56:26 +0000
committerTom Hacohen <tom@stosb.com>2012-02-14 07:56:26 +0000
commite5468f16c13230d8ef43f7d40d5c39b0c162a016 (patch)
treef331d04858bcbf243f615660472348568f8e0f05
parentd6946055b76922019012356db33e4796e09cd696 (diff)
Tests tb_test: Fixed compilation warnings and edje_cc error.
SVN revision: 67899
-rw-r--r--tb.edc21
-rw-r--r--test.c4
2 files changed, 2 insertions, 23 deletions
diff --git a/tb.edc b/tb.edc
index bef95b3..a64c422 100644
--- a/tb.edc
+++ b/tb.edc
@@ -36,12 +36,6 @@ collections {
36 entry_mode: EDITABLE; 36 entry_mode: EDITABLE;
37 select_mode: EXPLICIT; 37 select_mode: EXPLICIT;
38 multiline: 1; 38 multiline: 1;
39 source: "elm/entry/selection/default"; // selection under
40 // source2: "X"; // selection over
41 // source3: "X"; // cursor under
42 source4: "elm/entry/cursor/default"; // cursorover
43 source5: "elm/entry/anchor/default"; // anchor under
44 // source6: "X"; // anchor over
45 description { state: "default" 0.0; 39 description { state: "default" 0.0;
46 /* we gotta use 0 0 here, because of scrolled entries */ 40 /* we gotta use 0 0 here, because of scrolled entries */
47 fixed: 0 0; 41 fixed: 0 0;
@@ -114,12 +108,6 @@ collections {
114 entry_mode: EDITABLE; 108 entry_mode: EDITABLE;
115 select_mode: EXPLICIT; 109 select_mode: EXPLICIT;
116 multiline: 1; 110 multiline: 1;
117 source: "elm/entry/selection/default"; // selection under
118// source2: "X"; // selection over
119// source3: "X"; // cursor under
120 source4: "elm/entry/cursor/default"; // cursorover
121 source5: "elm/entry/anchor/default"; // anchor under
122// source6: "X"; // anchor over
123 description { state: "default" 0.0; 111 description { state: "default" 0.0;
124 fixed: 1 0; 112 fixed: 1 0;
125 text { 113 text {
@@ -191,12 +179,6 @@ collections {
191 entry_mode: EDITABLE; 179 entry_mode: EDITABLE;
192 select_mode: EXPLICIT; 180 select_mode: EXPLICIT;
193 multiline: 1; 181 multiline: 1;
194 source: "elm/entry/selection/default"; // selection under
195// source2: "X"; // selection over
196// source3: "X"; // cursor under
197 source4: "elm/entry/cursor/default"; // cursorover
198 source5: "elm/entry/anchor/default"; // anchor under
199// source6: "X"; // anchor over
200 description { state: "default" 0.0; 182 description { state: "default" 0.0;
201 fixed: 1 0; 183 fixed: 1 0;
202 text { 184 text {
@@ -245,9 +227,6 @@ collections {
245 entry_mode: EDITABLE; 227 entry_mode: EDITABLE;
246 select_mode: EXPLICIT; 228 select_mode: EXPLICIT;
247 multiline: 1; 229 multiline: 1;
248 source: "elm/entry/selection/default"; // selection under
249 source4: "elm/entry/cursor/default"; // cursorover
250 source5: "elm/entry/anchor/default"; // anchor under
251 description { state: "default" 0.0; 230 description { state: "default" 0.0;
252 text { 231 text {
253 style: "entry_textblock_style"; 232 style: "entry_textblock_style";
diff --git a/test.c b/test.c
index 47d6bfd..6561e82 100644
--- a/test.c
+++ b/test.c
@@ -81,7 +81,7 @@ main(int argc, char *argv[])
81 Elm_Wrap_Type wrap = ELM_WRAP_WORD; 81 Elm_Wrap_Type wrap = ELM_WRAP_WORD;
82 const char *wrapt = "word"; 82 const char *wrapt = "word";
83 /* end of wrap mode */ 83 /* end of wrap mode */
84 Eina_Unicode plain_utf8 = EINA_FALSE; 84 Eina_Bool plain_utf8 = EINA_FALSE;
85 85
86 opterr = 0; 86 opterr = 0;
87 87
@@ -228,7 +228,7 @@ main(int argc, char *argv[])
228 else if (!strcmp(type, "elm")) 228 else if (!strcmp(type, "elm"))
229 { 229 {
230 elm_entry_entry_set(tb, buf); 230 elm_entry_entry_set(tb, buf);
231 elm_object_focus(win); 231 elm_object_focus_set(win, EINA_TRUE);
232 } 232 }
233 free(buf); 233 free(buf);
234 } 234 }