Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_filedialog.c ewl_filedialog.h 


Log Message:
add in the debug calls

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_filedialog.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- ewl_filedialog.c    21 Dec 2004 03:56:25 -0000      1.45
+++ ewl_filedialog.c    21 Dec 2004 19:53:00 -0000      1.46
@@ -94,7 +94,14 @@
  */
 char *ewl_filedialog_path_get(Ewl_Filedialog * fd)
 {
-       return ewl_fileselector_path_get(EWL_FILESELECTOR(fd->fs));
+       char *s;
+
+       DENTER_FUNCTION(DLEVEL_STABLE);
+       DCHECK_PARAM_PTR_RET("fd", fd, NULL);
+
+       s = ewl_fileselector_path_get(EWL_FILESELECTOR(fd->fs)); 
+
+       DRETURN_PTR(s, DLEVEL_STABLE);
 }
 
 /**
@@ -104,7 +111,14 @@
  */
 char *ewl_filedialog_file_get(Ewl_Filedialog * fd)
 {
-       return ewl_fileselector_file_get(EWL_FILESELECTOR(fd->fs));
+       char *s;
+
+       DENTER_FUNCTION(DLEVEL_STABLE);
+       DCHECK_PARAM_PTR_RET("fd", fd, NULL);
+       
+       s = ewl_fileselector_file_get(EWL_FILESELECTOR(fd->fs));
+
+       DRETURN_PTR(s, DLEVEL_STABLE);
 }
 
 /**
@@ -115,7 +129,13 @@
  */
 void ewl_filedialog_path_set(Ewl_Filedialog * fd, char *path)
 {
+       DENTER_FUNCTION(DLEVEL_STABLE);
+       DCHECK_PARAM_PTR("fd", fd);
+       DCHECK_PARAM_PTR("path", path);
+
        ewl_fileselector_path_set(EWL_FILESELECTOR(fd->fs), path);
+
+       DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
 /*
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_filedialog.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewl_filedialog.h    21 Dec 2004 04:35:06 -0000      1.18
+++ ewl_filedialog.h    21 Dec 2004 19:53:00 -0000      1.19
@@ -53,7 +53,7 @@
 char       *ewl_filedialog_path_get (Ewl_Filedialog *fd);
 char       *ewl_filedialog_file_get (Ewl_Filedialog *fd);
 void        ewl_filedialog_path_set (Ewl_Filedialog *fd,
-                            char   *path);
+                                            char   *path);
 
 /*
  * Internally used callbacks, override at your own risk.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to