From 6758149170020be7c4d697e90bb6b48923200728 Mon Sep 17 00:00:00 2001 From: caro Date: Sat, 24 Oct 2009 15:24:11 +0000 Subject: [PATCH] eng_setup must return 1 on success and 0 on failure git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@43248 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/software_gdi/evas_engine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/engines/software_gdi/evas_engine.c b/src/modules/engines/software_gdi/evas_engine.c index 0611e4e..9b31e50 100644 --- a/src/modules/engines/software_gdi/evas_engine.c +++ b/src/modules/engines/software_gdi/evas_engine.c @@ -146,11 +146,13 @@ eng_setup(Evas *e, void *in) 0, 0); re->ob->onebuf = ponebuf; } - if (!e->engine.data.output) return; + if (!e->engine.data.output) return 0; if (!e->engine.data.context) e->engine.data.context = e->engine.func->context_new(e->engine.data.output); re = e->engine.data.output; + + return 1; } static void -- 2.7.4