Then, user could not have any warning messages when they pass the invalid 
object. 
------------------------------------
Let's run together for the best moment!
 -Regards, Hermet-
 
-----Original Message-----
From: "Enlightenment SVN"<no-re...@enlightenment.org> 
To: enlightenment-...@lists.sourceforge.net
Cc: 
Sent: 11-10-19(수) 21:15:41
Subject: E SVN: cedric trunk/elementary/src/lib
Log:
elementary: check against NULL widget also.
 
Author: cedric
Date: 2011-10-19 05:15:41 -0700 (Wed, 19 Oct 2011)
New Revision: 64175
Trac: http://trac.enlightenment.org/e/changeset/64175
Modified:
 trunk/elementary/src/lib/elm_widget.h 
Modified: trunk/elementary/src/lib/elm_widget.h
===================================================================
--- trunk/elementary/src/lib/elm_widget.h 2011-10-19 12:14:31 UTC (rev 64174)
+++ trunk/elementary/src/lib/elm_widget.h 2011-10-19 12:15:41 UTC (rev 64175)
@@ -653,7 +653,7 @@
 if (!elm_widget_is_check(obj)) return
 
 #define ELM_CHECK_WIDTYPE(obj, widtype) \
- if (!elm_widget_type_check((obj), (widtype), __func__)) return
+ if (!obj || !elm_widget_type_check((obj), (widtype), __func__)) return
 
 #define ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it, ...) \
 ELM_WIDGET_ITEM_CHECK_OR_RETURN((Elm_Widget_Item *)it, __VA_ARGS__); \
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
enlightenment-svn mailing list
enlightenment-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to