summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-23 23:30:27 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-23 23:30:27 +0900
commit16b9859f17a4040eb37a4b5c2e559360eb7379ad (patch)
tree0f1bba044358b6220c90aaeea993bce749b744ba /src/examples
parent53e27458f6d71a26291f896fbddc70f41d30478d (diff)
ecore-evas - examples - simply broken example - fix
this fixes T558 - it was just a broken example
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/ecore_evas_callbacks.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/examples/ecore/ecore_evas_callbacks.c b/src/examples/ecore/ecore_evas_callbacks.c
index 5c1a5d6a15..ce6c1f7c6d 100644
--- a/src/examples/ecore/ecore_evas_callbacks.c
+++ b/src/examples/ecore/ecore_evas_callbacks.c
@@ -96,13 +96,19 @@ int
96main(void) 96main(void)
97{ 97{
98 Ecore_Evas *ee; 98 Ecore_Evas *ee;
99 99 Evas_Object *bg;
100
100 ecore_evas_init(); 101 ecore_evas_init();
101 102
102 ee = ecore_evas_new(NULL, 0, 0, 200, 100, NULL); 103 ee = ecore_evas_new(NULL, 0, 0, 200, 100, NULL);
103 ecore_evas_title_set(ee, "Ecore Evas Callbacks Example"); 104 ecore_evas_title_set(ee, "Ecore Evas Callbacks Example");
104 ecore_evas_show(ee); 105 ecore_evas_show(ee);
105 106
107 bg = evas_object_rectangle_add(ecore_evas_get(ee));
108 evas_object_color_set(bg, 255, 128, 0, 255);
109 evas_object_resize(bg, 9999, 9999);
110 evas_object_show(bg);
111
106 //callbacks 112 //callbacks
107 ecore_evas_callback_delete_request_set(ee, _delete); 113 ecore_evas_callback_delete_request_set(ee, _delete);
108 ecore_evas_callback_destroy_set(ee, _destroy); 114 ecore_evas_callback_destroy_set(ee, _destroy);