summaryrefslogtreecommitdiff
path: root/pages/develop/e/sandbox_gadgets.md.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pages/develop/e/sandbox_gadgets.md.txt')
-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{