summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2005-12-29 16:06:59 +0000
committerChristopher Michael <cpmichael1@comcast.net>2005-12-29 16:06:59 +0000
commitef606e4b54e1c228406a37a4fbf3dad9a51779e5 (patch)
treeb6aff62aa9d0ec16fe4756847938a1cbdeee80d3
parentdbe96532eccf04a0bf5814ef5d55c9bda2683a0e (diff)
Fix implicit declaration warnings. Remove unused function protos
SVN revision: 19384
-rw-r--r--src/modules/dropshadow/e_mod_config.h2
-rw-r--r--src/modules/dropshadow/e_mod_main.c7
2 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/dropshadow/e_mod_config.h b/src/modules/dropshadow/e_mod_config.h
index 542920688..06370f556 100644
--- a/src/modules/dropshadow/e_mod_config.h
+++ b/src/modules/dropshadow/e_mod_config.h
@@ -3,6 +3,6 @@
3#ifndef E_MOD_CONFIG_H 3#ifndef E_MOD_CONFIG_H
4#define E_MOD_CONFIG_H 4#define E_MOD_CONFIG_H
5#include "e_mod_main.h" 5#include "e_mod_main.h"
6EAPI void _config_dropshadow_module(E_Container *con, Dropshadow *ds); 6void _config_dropshadow_module(E_Container *con, Dropshadow *ds);
7#endif 7#endif
8#endif 8#endif
diff --git a/src/modules/dropshadow/e_mod_main.c b/src/modules/dropshadow/e_mod_main.c
index d059e00f6..81a8b7491 100644
--- a/src/modules/dropshadow/e_mod_main.c
+++ b/src/modules/dropshadow/e_mod_main.c
@@ -1,5 +1,6 @@
1#include "e.h" 1#include "e.h"
2#include "e_mod_main.h" 2#include "e_mod_main.h"
3#include "e_mod_config.h"
3 4
4/* i measure a mere 9% speedup using mmx for simd sums. :( 5/* i measure a mere 9% speedup using mmx for simd sums. :(
5 * need to detect mmx capbale cpu's to enable this though 6 * need to detect mmx capbale cpu's to enable this though
@@ -17,10 +18,6 @@
17/* module private routines */ 18/* module private routines */
18static Dropshadow *_ds_init(E_Module *m); 19static Dropshadow *_ds_init(E_Module *m);
19static void _ds_shutdown(Dropshadow *ds); 20static void _ds_shutdown(Dropshadow *ds);
20//static E_Menu *_ds_config_menu_new(Dropshadow *ds);
21static void _ds_menu_high_quality(void *data, E_Menu *m, E_Menu_Item *mi);
22static void _ds_menu_medium_quality(void *data, E_Menu *m, E_Menu_Item *mi);
23static void _ds_menu_low_quality(void *data, E_Menu *m, E_Menu_Item *mi);
24static void _ds_container_shapes_add(Dropshadow *ds, E_Container *con); 21static void _ds_container_shapes_add(Dropshadow *ds, E_Container *con);
25static void _ds_shape_change(void *data, E_Container_Shape *es, E_Container_Shape_Change ch); 22static void _ds_shape_change(void *data, E_Container_Shape *es, E_Container_Shape_Change ch);
26static Shadow *_ds_shadow_find(Dropshadow *ds, E_Container_Shape *es); 23static Shadow *_ds_shadow_find(Dropshadow *ds, E_Container_Shape *es);
@@ -453,7 +450,7 @@ _ds_shadow_obj_init(Shadow *sh)
453 evas_object_layer_set(sh->object[i], 10); 450 evas_object_layer_set(sh->object[i], 10);
454 evas_object_pass_events_set(sh->object[i], 1); 451 evas_object_pass_events_set(sh->object[i], 1);
455 evas_object_move(sh->object[i], 0, 0); 452 evas_object_move(sh->object[i], 0, 0);
456 evas_object_resize(sh->object[i], 0, 0); 453 evas_object_resize(sh->object[i], 0, 0); //255
457 evas_object_color_set(sh->object[i], 454 evas_object_color_set(sh->object[i],
458 255, 255, 255, 455 255, 255, 255,
459 255 * sh->ds->conf->shadow_darkness); 456 255 * sh->ds->conf->shadow_darkness);