diff options
author | james ellis osborne iii <jamesellis@twee.se> | 2018-08-01 11:43:48 -0700 |
---|---|---|
committer | apache <apache@e5-web1.enlightenment.org> | 2018-08-01 11:43:48 -0700 |
commit | 9e7ff031a550c21381303191f06cc55802ad2298 (patch) | |
tree | e003e84b59aa6cba18e6e545500f33b5425a2865 | |
parent | 65c9b961b48d084028ca6c7bb5b3acef2462892c (diff) |
Wiki page sandbox_gadgets.md changed with summary [second example also failed to compile] by james ellis osborne iii
-rw-r--r-- | pages/develop/e/sandbox_gadgets.md.txt | 8 |
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 | ||
115 | static E_Gadget_Site_Orient gorient; | 115 | static E_Gadget_Site_Orient gorient; |
116 | static E_Gadget_Site_Anchor ganchor; | 116 | static 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 | ||
230 | static void | ||
231 | on_click(void *data, Evas_Object *obj, void *event_info) | ||
232 | { | ||
233 | evas_object_del(data); | ||
234 | } | ||
235 | |||
230 | EAPI_MAIN int | 236 | EAPI_MAIN int |
231 | elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) | 237 | elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) |
232 | { | 238 | { |