Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_container.c
Log Message:
- fix a couple of type checks to be more specific
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_container.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- ewl_container.c 23 Aug 2007 05:26:50 -0000 1.64
+++ ewl_container.c 11 Sep 2007 01:33:32 -0000 1.65
@@ -715,7 +715,7 @@
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("widget", widget, NULL);
- DCHECK_TYPE_RET("widget", widget, EWL_WIDGET_TYPE, NULL);
+ DCHECK_TYPE_RET("widget", widget, EWL_CONTAINER_TYPE, NULL);
if (!widget->children || ecore_dlist_empty_is(widget->children))
DRETURN_PTR(NULL, DLEVEL_STABLE);
@@ -765,7 +765,7 @@
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("widget", widget, NULL);
- DCHECK_TYPE_RET("widget", widget, EWL_WIDGET_TYPE, NULL);
+ DCHECK_TYPE_RET("widget", widget, EWL_CONTAINER_TYPE, NULL);
if (!widget->children || ecore_dlist_empty_is(widget->children))
DRETURN_PTR(NULL, DLEVEL_STABLE);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs