Enlightenment CVS committal

Author  : moom
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/engines/ecore_fb


Modified Files:
        ecore_fb.c 


Log Message:
* [Ecore_Evas engine] cleanup
* [FB engine] windows can now be closed
* [Signal] There is a big design problem with accumulators. This code 
fixes it if the callbacks returns an Etk_Bool but this might not work 
for another return-type...


===================================================================
RCS file: /cvs/e/e17/libs/etk/src/engines/ecore_fb/ecore_fb.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ecore_fb.c  13 Jan 2007 17:25:00 -0000      1.13
+++ ecore_fb.c  13 Jan 2007 19:29:19 -0000      1.14
@@ -805,6 +805,11 @@
 /* Called when the mouse releases the close button */
 static void _window_close_mouse_up_cb(void *data, Evas_Object *obj, const char 
*emission, const char *source)
 {
+   Etk_Window *window;
+   
+   if (!(window = ETK_WINDOW(data)))
+      return;
+   etk_window_delete_request(window);
 }
 
 /* Called when the mouse is moved */



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to