Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_filelist_model.c ewl_filelist_model.h 


Log Message:

Correct the signatures for ewl_model_column_sortable_set and 
ewl_model_data_unref_set

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_model.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_filelist_model.c        4 Nov 2007 23:28:03 -0000       1.1
+++ ewl_filelist_model.c        12 Nov 2007 03:07:21 -0000      1.2
@@ -116,7 +116,7 @@
 /*
  * @internal
  */
-unsigned int
+int
 ewl_filelist_model_column_sortable(void *data __UNUSED__, 
                                        unsigned int column)
 {
@@ -344,18 +344,18 @@
 /**
  * @internal
  */
-void 
+unsigned int 
 ewl_filelist_model_data_unref(Ewl_Filelist_Directory *dir)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("dir", dir);
+       DCHECK_PARAM_PTR_RET("dir", dir, FALSE);
        
        ecore_string_release(dir->name);
        ecore_list_destroy(dir->files);
        ecore_list_destroy(dir->dirs);
        FREE(dir);
 
-       DLEAVE_FUNCTION(DLEVEL_STABLE);
+       DRETURN_INT(TRUE, DLEVEL_STABLE);
 }
 
 /**
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_model.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_filelist_model.h        11 Nov 2007 06:07:46 -0000      1.2
+++ ewl_filelist_model.h        12 Nov 2007 03:07:21 -0000      1.3
@@ -77,8 +77,8 @@
                                                unsigned int row);
 void *ewl_filelist_model_data_expansion_data_fetch(void *data, 
                                                unsigned int parent);
-void ewl_filelist_model_data_unref(Ewl_Filelist_Directory *dir);
-unsigned int ewl_filelist_model_column_sortable(void *data, 
+unsigned int ewl_filelist_model_data_unref(Ewl_Filelist_Directory *dir);
+int ewl_filelist_model_column_sortable(void *data, 
                                                unsigned int column);
 
 /**



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to