Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/engines/x11
Modified Files:
ewl_engine_x11.c
Log Message:
- reset pointers after deleting the windows
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- ewl_engine_x11.c 22 Dec 2006 18:41:58 -0000 1.35
+++ ewl_engine_x11.c 3 Jan 2007 22:30:54 -0000 1.36
@@ -395,8 +395,11 @@
DCHECK_TYPE("win", win, EWL_WINDOW_TYPE);
ee_window_hide(win);
- ecore_x_window_del((Ecore_X_Window)EWL_EMBED(win)->evas_window);
- ecore_x_window_del((Ecore_X_Window)EWL_WINDOW(win)->window);
+ ecore_x_window_del((Ecore_X_Window)(EWL_EMBED(win)->evas_window));
+ ecore_x_window_del((Ecore_X_Window)(win->window));
+
+ EWL_EMBED(win)->evas_window = NULL;
+ win->window = NULL;
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs