discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=92a0cb11d60f07715c23da25a06586902c8f82e3

commit 92a0cb11d60f07715c23da25a06586902c8f82e3
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 11 18:48:53 2017 -0400

    disallow demo gadget ids from counting towards wizard success
---
 src/bin/e_gadget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index b8c711a17..9f9b1b410 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -398,7 +398,7 @@ _gadget_wizard_end(void *data, int id)
    zgc->id = id;
    evas_object_smart_callback_call(zgc->site->layout, "gadget_site_unlocked", 
NULL);
    e_comp_ungrab_input(1, 1);
-   if (id)
+   if (id > 0)
      {
         _gadget_object_finalize(zgc);
         added = 0;

-- 


Reply via email to