summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorjames ellis osborne iii <jamesellis@twee.se>2018-08-01 11:43:48 -0700
committerapache <apache@e5-web1.enlightenment.org>2018-08-01 11:43:48 -0700
commit9e7ff031a550c21381303191f06cc55802ad2298 (patch)
treee003e84b59aa6cba18e6e545500f33b5425a2865 /pages
parent65c9b961b48d084028ca6c7bb5b3acef2462892c (diff)
Wiki page sandbox_gadgets.md changed with summary [second example also failed to compile] by james ellis osborne iii
Diffstat (limited to 'pages')
-rw-r--r--pages/develop/e/sandbox_gadgets.md.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/pages/develop/e/sandbox_gadgets.md.txt b/pages/develop/e/sandbox_gadgets.md.txt
index e04cb9796..51b2f4bc6 100644
--- a/pages/develop/e/sandbox_gadgets.md.txt
+++ b/pages/develop/e/sandbox_gadgets.md.txt
@@ -110,7 +110,7 @@ For the purpose of the Hello World gadget, a label detailing the anchor position
110 110
111```c 111```c
112#include <Elementary.h> 112#include <Elementary.h>
113#include <e_gadget_types.h> 113#include <enlightenment/e_gadget_types.h>
114 114
115static E_Gadget_Site_Orient gorient; 115static E_Gadget_Site_Orient gorient;
116static E_Gadget_Site_Anchor ganchor; 116static E_Gadget_Site_Anchor ganchor;
@@ -227,6 +227,12 @@ orient_change(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
227 update_anchor_orient(data, gorient, ganchor); 227 update_anchor_orient(data, gorient, ganchor);
228} 228}
229 229
230static void
231on_click(void *data, Evas_Object *obj, void *event_info)
232{
233 evas_object_del(data);
234}
235
230EAPI_MAIN int 236EAPI_MAIN int
231elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) 237elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
232{ 238{