eng_setup must return 1 on success and 0 on failure
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Oct 2009 15:24:11 +0000 (15:24 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Oct 2009 15:24:11 +0000 (15:24 +0000)
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

index 0611e4e..9b31e50 100644 (file)
@@ -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