diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2014-10-06 22:15:23 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2014-10-06 22:15:23 +0900 |
commit | 6d76a78b239c5850a869d25aa48e8e23685a1b57 (patch) | |
tree | c57ec67cb65b9987edf3858552580f03d620f438 | |
parent | 776268d077f8e7174b61f015b98d6c71ea43db0b (diff) |
print a message when it fails to create ecore evas.
-rw-r--r-- | src/bin/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/main.c b/src/bin/main.c index 0f90ee7..77e192e 100644 --- a/src/bin/main.c +++ b/src/bin/main.c | |||
@@ -1288,7 +1288,11 @@ main(int argc, char **argv) | |||
1288 | resolutions[resolution_index].width, | 1288 | resolutions[resolution_index].width, |
1289 | resolutions[resolution_index].height, | 1289 | resolutions[resolution_index].height, |
1290 | NULL); // FIXME: Specify additional parameter for the engine on the command line | 1290 | NULL); // FIXME: Specify additional parameter for the engine on the command line |
1291 | if (!ee) return -1; | 1291 | if (!ee) |
1292 | { | ||
1293 | fprintf(stderr, "Failed to create Ecore_Evas. Please check engine name \"%s\"\n", engine); | ||
1294 | return -1; | ||
1295 | } | ||
1292 | 1296 | ||
1293 | choosen_engine = ecore_evas_engine_name_get(ee); | 1297 | choosen_engine = ecore_evas_engine_name_get(ee); |
1294 | ecore_evas_callback_delete_request_set(ee, _cb_delete); | 1298 | ecore_evas_callback_delete_request_set(ee, _cb_delete); |