forked from enlightenment/enlightenment
more evas_hash_foreach fixes.
add __UNUSED__ where needed. SVN revision: 33735
This commit is contained in:
parent
91c1375226
commit
c4c0110ce3
|
@ -36,8 +36,8 @@ static void _e_imc_change_enqueue (E_Config_Dialog_Data *cfdata);
|
||||||
static void _e_imc_entry_change_cb (void *data, Evas_Object *obj);
|
static void _e_imc_entry_change_cb (void *data, Evas_Object *obj);
|
||||||
static void _e_imc_form_fill (E_Config_Dialog_Data *cfdata);
|
static void _e_imc_form_fill (E_Config_Dialog_Data *cfdata);
|
||||||
static const char* _e_imc_file_name_new_get (void);
|
static const char* _e_imc_file_name_new_get (void);
|
||||||
static Evas_Bool _change_hash_free_cb (Evas_Hash *hash, const char *key, void *data, void *fdata);
|
static Evas_Bool _change_hash_free_cb (const Evas_Hash *hash __UNUSED__, const char *key __UNUSED__, void *data, void *fdata __UNUSED__);
|
||||||
static Evas_Bool _change_hash_apply_cb (Evas_Hash *hash, const char *key, void *data, void *fdata);
|
static Evas_Bool _change_hash_apply_cb (const Evas_Hash *hash __UNUSED__, const char *key, void *data, void *fdata __UNUSED__);
|
||||||
|
|
||||||
struct _E_Config_Dialog_Data
|
struct _E_Config_Dialog_Data
|
||||||
{
|
{
|
||||||
|
@ -143,7 +143,7 @@ _create_data(E_Config_Dialog *cfd)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Bool
|
static Evas_Bool
|
||||||
_change_hash_free_cb(Evas_Hash *hash, const char *key, void *data, void *fdata)
|
_change_hash_free_cb(const Evas_Hash *hash __UNUSED__, const char *key __UNUSED__, void *data, void *fdata __UNUSED__)
|
||||||
{
|
{
|
||||||
E_Input_Method_Config *imc;
|
E_Input_Method_Config *imc;
|
||||||
|
|
||||||
|
@ -385,7 +385,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
|
|
||||||
/*** Start Advanced Dialog Logic ***/
|
/*** Start Advanced Dialog Logic ***/
|
||||||
static Evas_Bool
|
static Evas_Bool
|
||||||
_change_hash_apply_cb(Evas_Hash *hash, const char *key, void *data, void *fdata)
|
_change_hash_apply_cb(const Evas_Hash *hash __UNUSED__, const char *key, void *data, void *fdata __UNUSED__)
|
||||||
{
|
{
|
||||||
E_Input_Method_Config *imc;
|
E_Input_Method_Config *imc;
|
||||||
Eet_File *ef;
|
Eet_File *ef;
|
||||||
|
|
|
@ -43,8 +43,8 @@ static void _temperature_face_cb_post_menu(void *data, E_Menu *m);
|
||||||
static void _temperature_face_level_set(Config_Face *inst, double level);
|
static void _temperature_face_level_set(Config_Face *inst, double level);
|
||||||
static void _temperature_face_cb_menu_configure(void *data, E_Menu *m, E_Menu_Item *mi);
|
static void _temperature_face_cb_menu_configure(void *data, E_Menu *m, E_Menu_Item *mi);
|
||||||
|
|
||||||
static Evas_Bool _temperature_face_shutdown(Evas_Hash *hash, const char *key, void *hdata, void *fdata);
|
static Evas_Bool _temperature_face_shutdown(const Evas_Hash *hash __UNUSED__, const char *key __UNUSED__, void *hdata, void *fdata __UNUSED__);
|
||||||
static Evas_Bool _temperature_face_id_max(Evas_Hash *hash, const char *key, void *hdata, void *fdata);
|
static Evas_Bool _temperature_face_id_max(const Evas_Hash *hash __UNUSED__, const char *key, void *hdata __UNUSED__, void *fdata);
|
||||||
|
|
||||||
static E_Config_DD *conf_edd = NULL;
|
static E_Config_DD *conf_edd = NULL;
|
||||||
static E_Config_DD *conf_face_edd = NULL;
|
static E_Config_DD *conf_face_edd = NULL;
|
||||||
|
@ -360,7 +360,7 @@ _temperature_face_cb_menu_configure(void *data, E_Menu *m, E_Menu_Item *mi)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Bool
|
static Evas_Bool
|
||||||
_temperature_face_shutdown(Evas_Hash *hash, const char *key, void *hdata, void *fdata)
|
_temperature_face_shutdown(const Evas_Hash *hash __UNUSED__, const char *key __UNUSED__, void *hdata, void *fdata __UNUSED__)
|
||||||
{
|
{
|
||||||
Config_Face *inst;
|
Config_Face *inst;
|
||||||
|
|
||||||
|
@ -373,11 +373,11 @@ _temperature_face_shutdown(Evas_Hash *hash, const char *key, void *hdata, void *
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Bool
|
static Evas_Bool
|
||||||
_temperature_face_id_max(Evas_Hash *hash, const char *key, void *hdata, void *fdata)
|
_temperature_face_id_max(const Evas_Hash *hash __UNUSED__, const char *key, void *hdata __UNUSED__, void *fdata)
|
||||||
{
|
{
|
||||||
const char *p;
|
const char *p;
|
||||||
int *max;
|
int *max;
|
||||||
int num = -1;
|
int num = -1;
|
||||||
|
|
||||||
max = fdata;
|
max = fdata;
|
||||||
p = strrchr(key, '.');
|
p = strrchr(key, '.');
|
||||||
|
|
Loading…
Reference in New Issue