Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_embed.c ewl_filelist_tree.c ewl_floater.c 


Log Message:
use the macros

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -3 -r1.116 -r1.117
--- ewl_embed.c 11 Mar 2007 22:35:56 -0000      1.116
+++ ewl_embed.c 25 Mar 2007 02:05:57 -0000      1.117
@@ -1191,7 +1191,8 @@
        DCHECK_PARAM_PTR_RET("type", type, NULL);
        DCHECK_TYPE_RET("e", e, EWL_EMBED_TYPE, NULL);
 
-       if (!e->obj_cache) return NULL;
+       if (!e->obj_cache)
+               DRETURN_PTR(NULL, DLEVEL_STABLE);
 
        obj_list = ecore_hash_get(e->obj_cache, type);
        if (obj_list) obj = ecore_list_remove_first(obj_list);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_tree.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_filelist_tree.c 24 Mar 2007 23:25:43 -0000      1.9
+++ ewl_filelist_tree.c 25 Mar 2007 02:05:57 -0000      1.10
@@ -380,7 +380,8 @@
        DCHECK_PARAM_PTR_RET("data", data, 0);
 
        file = ecore_list_goto_index(td->files, row);
-       if (!strcmp(file, "..")) return 0;
+       if (!strcmp(file, ".."))
+               DRETURN_INT(0, DLEVEL_STABLE);
 
        path = ewl_filelist_expand_path(EWL_FILELIST(td->list), file);
        result = ecore_file_is_dir(path);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_floater.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_floater.c       6 Feb 2007 13:42:17 -0000       1.14
+++ ewl_floater.c       25 Mar 2007 02:05:57 -0000      1.15
@@ -166,7 +166,7 @@
        DCHECK_TYPE("f", f, EWL_FLOATER_TYPE);
 
        if (f->follows == w)
-               return;
+               DRETURN(DLEVEL_STABLE);
 
        /*
         * Remove the callback attached to the configure event for the



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