Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_ilist.c e_int_config_apps.c e_order.h 


Log Message:
Cleanup.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_ilist.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- e_ilist.c   7 Jun 2007 03:49:09 -0000       1.34
+++ e_ilist.c   7 Jun 2007 16:42:51 -0000       1.35
@@ -410,7 +410,6 @@
 e_ilist_nth_geometry_get(Evas_Object *obj, int n, Evas_Coord *x, Evas_Coord 
*y, Evas_Coord *w, Evas_Coord *h)
 {
   E_Ilist_Item *si;
-  int error;
 
   API_ENTRY return;
   if (!sd->items) return;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_apps.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- e_int_config_apps.c 7 Jun 2007 03:49:09 -0000       1.68
+++ e_int_config_apps.c 7 Jun 2007 16:42:51 -0000       1.69
@@ -18,7 +18,6 @@
 static void _cb_categories(void *data, void *data2);
 static void _cb_add(void *data, void *data2);
 static void _cb_del(void *data, void *data2);
-static void _create_fav_menu(const char *path);
 static int _cb_desktop_name_sort(Efreet_Desktop *a, Efreet_Desktop *b);
 
 static int _save_menu(E_Config_Dialog_Data *cfdata);
@@ -176,7 +175,6 @@
 {
    E_Config_Dialog *cfd;
    E_Config_Dialog_View *v;
-   char buf[4096];
 
    if (e_config_dialog_find("E", once->dialog)) return NULL;
 
@@ -201,10 +199,10 @@
 
   cfdata = E_NEW(E_Config_Dialog_Data, 1);
   once = cfd->data;
-  if (!once->filename) return;
+  if (!once->filename) return NULL;
 
   ext = strrchr(once->filename, '.');
-  if (!ext) return;
+  if (!ext) return NULL;
 
   cfdata->once = once;
   if (!strcmp(ext, ".menu")) 
@@ -312,13 +310,13 @@
 static int 
 _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
-  int ret;
+   int ret;
    char *ext;
  
    if (!cfdata->apps || !cfdata->once || !cfdata->once->filename) return 1;
 
    ext = strrchr(cfdata->once->filename, '.');
-   if (!ext) return;
+   if (!ext) return 0;
 
    if (!strcmp(ext, ".menu"))
      ret = _save_menu(cfdata);
@@ -383,13 +381,7 @@
    ecore_list_sort(cats, ECORE_COMPARE_CB(strcmp), ECORE_SORT_MIN);
    ecore_list_goto_first(cats);
    while ((category = ecore_list_next(cats))) 
-     {
-       Ecore_List *desktops;
-       Efreet_Desktop *desktop;
-
-       e_widget_ilist_append(cfdata->o_apps, NULL, category, 
_category_cb_selected, cfdata, category);
-
-     }
+     e_widget_ilist_append(cfdata->o_apps, NULL, category, 
_category_cb_selected, cfdata, category);
    ecore_list_destroy(cats);
 
    e_widget_ilist_go(cfdata->o_apps);
@@ -412,7 +404,6 @@
    Evas *evas;
    Evas_Coord w;
 
-   int i;
    Ecore_List *desktops;
    Efreet_Desktop *desktop;
    char buf[4096];
@@ -452,7 +443,6 @@
 {
    Evas *evas;
    Evas_Coord w;
-   Ecore_List *apps;
    Efreet_Desktop *desktop;
 
    if ((!cfdata->apps)) 
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_order.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_order.h   4 Apr 2007 22:25:41 -0000       1.6
+++ e_order.h   7 Jun 2007 16:42:51 -0000       1.7
@@ -36,6 +36,7 @@
 EAPI void e_order_prepend_relative(E_Order *eo, Efreet_Desktop *desktop, 
Efreet_Desktop *before);
 EAPI void e_order_files_append(E_Order *eo, Evas_List *files);
 EAPI void e_order_files_prepend_relative(E_Order *eo, Evas_List *files, 
Efreet_Desktop *before);
+EAPI void e_order_clear(E_Order *eo);
 
 #endif
 #endif



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to