Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/estyle
Dir : e17/libs/estyle/src
Modified Files:
estyle.c
Log Message:
Allow NULL style name.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/src/estyle.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- estyle.c 21 Dec 2003 23:09:42 -0000 1.31
+++ estyle.c 27 Jan 2004 17:01:28 -0000 1.32
@@ -338,7 +338,6 @@
Estyle *es;
CHECK_PARAM_POINTER("obj", obj);
- CHECK_PARAM_POINTER("name", name);
es = evas_object_smart_data_get(obj);
@@ -348,7 +347,7 @@
if (es->style)
_estyle_style_release(es->style, es->evas);
- if ((es->style = _estyle_style_instance(name)) == NULL)
+ if (!name || (es->style = _estyle_style_instance(name)) == NULL)
return;
text = evas_object_text_text_get(es->bit);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs