Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_mvc.c 


Log Message:
- make sure we have a highlight before trying to remove it

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_mvc.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_mvc.c   20 Oct 2006 18:21:53 -0000      1.10
+++ ewl_mvc.c   17 Nov 2006 05:20:19 -0000      1.11
@@ -1102,7 +1102,7 @@
        DCHECK_PARAM_PTR("data", data);
 
        sel = data;
-       if (sel->type == EWL_SELECTION_TYPE_INDEX)
+       if ((sel->type == EWL_SELECTION_TYPE_INDEX) && sel->highlight)
                ewl_widget_destroy(sel->highlight);
        else
        {



-------------------------------------------------------------------------
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