Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_int_menus.c e_int_config_dpms.c e_fm.c e_fm_prop.c
e_fm_main.c
Log Message:
Remove some unused varaibles and unused functions.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -3 -r1.199 -r1.200
--- e_int_menus.c 1 Mar 2007 21:39:06 -0000 1.199
+++ e_int_menus.c 11 Mar 2007 05:54:07 -0000 1.200
@@ -1139,8 +1139,6 @@
_e_int_menus_clients_add_by_none(Evas_List *borders, E_Menu *m)
{
Evas_List *l = NULL, *ico = NULL;
- E_Menu *subm;
- E_Menu_Item *mi;
for (l = borders; l; l = l->next)
{
@@ -1163,7 +1161,7 @@
{
E_Menu *subm;
E_Menu_Item *mi;
- Evas_List *l = NULL, *borders = NULL, *alt = NULL;
+ Evas_List *l = NULL, *borders = NULL;
E_Zone *zone = NULL;
E_Desk *desk = NULL;
Main_Data *dat;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_dpms.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_int_config_dpms.c 9 Mar 2007 16:23:32 -0000 1.3
+++ e_int_config_dpms.c 11 Mar 2007 05:54:07 -0000 1.4
@@ -2,9 +2,6 @@
static void *_create_data(E_Config_Dialog *cfd);
static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data
*cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas,
- E_Config_Dialog_Data *cfdata);
static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data
*cfdata);
static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas,
E_Config_Dialog_Data *cfdata);
@@ -144,53 +141,6 @@
e_config_save_queue();
}
-static int
-_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
-{
- /*
- * NOTE: Since the BASIC interface does not allow you to manipulate
- * the suspend and off features, I have decided to have them disabled
- * when applying changes from this dialog.
- *
- * I do this because the timeouts must always satisfy the following:
- * standby <= suspend <= off
- * and if you use the basic dialog, and increase the standby timeout
- * you might very well unknowingly push it right up to the off timout.
- * at which point, you monitor will turn off, instead of going into
- * standby. Which could be annoying.
- */
- cfdata->enable_suspend = 0;
- cfdata->enable_off = 0;
-
- _apply_data(cfd, cfdata);
- return 1;
-}
-
-static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
*cfdata)
-{
- Evas_Object *o, *of, *ob;
- o = e_widget_list_add(evas, 0, 0);
-
- ob = e_widget_check_add(evas, _("Enable DPMS"), &(cfdata->enable_dpms));
- e_widget_list_object_append(o, ob, 1, 1 ,0);
-
- of = e_widget_framelist_add(evas, _("DPMS Timer(s)"), 0);
-
- ob = e_widget_check_add(evas, _("Standby"), &(cfdata->enable_standby));
- e_widget_framelist_object_append(of, ob);
- ob = e_widget_slider_add(evas, 1, 0, _("%1.0f minutes"),
- 1.0, 90.0, 1.0, 0, &(cfdata->standby_timeout),
- NULL, 200);
- e_widget_on_change_hook_set(ob, _cb_standby_slider_change, cfdata);
- cfdata->standby_slider = ob;
- e_widget_framelist_object_append(of, ob);
-
- e_widget_list_object_append(o, of, 1, 1, 0.5);
- e_dialog_resizable_set(cfd->dia, 0);
- return o;
-}
-
/* advanced window */
static int
_advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
@@ -203,7 +153,7 @@
_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas,
E_Config_Dialog_Data *cfdata)
{
Evas_Object *o, *of, *ob;
- E_Radio_Group *rg;
+
o = e_widget_list_add(evas, 0, 0);
ob = e_widget_check_add(evas, _("Enable DPMS"), &(cfdata->enable_dpms));
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -3 -r1.132 -r1.133
--- e_fm.c 2 Mar 2007 17:00:20 -0000 1.132
+++ e_fm.c 11 Mar 2007 05:54:07 -0000 1.133
@@ -1287,7 +1287,6 @@
struct stat st;
int broken_link;
E_Fm2_Smart_Data *sd;
- void **sdat;
dir = e_fm2_real_path_get(l->data);
sd = evas_object_smart_data_get(l->data);
@@ -5477,7 +5476,6 @@
_e_fm2_removable_dev_add(const char *uuid)
{
E_Fm2_Removable *rem;
- const char *lab;
FILE *f;
char buf[4096];
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_prop.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_fm_prop.c 2 Mar 2007 17:00:20 -0000 1.11
+++ e_fm_prop.c 11 Mar 2007 05:54:07 -0000 1.12
@@ -39,9 +39,11 @@
static void *_create_data(E_Config_Dialog *cfd);
static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data
*cfdata);
-static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data
*cfdata);
static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas,
E_Config_Dialog_Data *cfdata);
+#if 0
+static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data
*cfdata);
static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas,
E_Config_Dialog_Data *cfdata);
+#endif
static void _cb_icon_sel(void *data, void *data2);
static void _cb_type(void *data, Evas_Object *obj, void *event_info);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_fm_main.c 2 Mar 2007 17:00:20 -0000 1.1
+++ e_fm_main.c 11 Mar 2007 05:54:07 -0000 1.2
@@ -243,7 +243,6 @@
Evas_List *files = NULL;
struct dirent *dp;
int dot_order = 0;
- char *file;
char buf[4096];
FILE *f;
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs