evas_object_resize(eco->edje, w, h);
}
-static void
-_e_configure_cb_close(void *data, void *data2)
+static void
+_e_configure_cb_close(void *data, void *data2 __UNUSED__)
{
E_Configure *eco;
return cat;
}
-static void
-_e_configure_category_cb(void *data, void *data2)
+static void
+_e_configure_category_cb(void *data, void *data2 __UNUSED__)
{
E_Configure_Category *cat;
E_Configure *eco;
}
}
-static void
-_e_configure_keydown_cb(void *data, Evas *e, Evas_Object *obj, void *event)
+static void
+_e_configure_keydown_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event)
{
Evas_Event_Key_Down *ev;
E_Win *win;
evas_event_thaw(evas_object_evas_get(eco->cat_list));
}
-static int
-_e_configure_module_update_cb(void *data, int type, void *event)
+static int
+_e_configure_module_update_cb(void *data, int type __UNUSED__, void *event __UNUSED__)
{
E_Configure *eco;
int sel = 0;
static int _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
E_Config_Dialog *
-e_int_config_conf_module(E_Container *con, const char *params)
+e_int_config_conf_module(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd = NULL;
E_Config_Dialog_View *v = NULL;
}
static void *
-_create_data(E_Config_Dialog *cfd)
+_create_data(E_Config_Dialog *cfd __UNUSED__)
{
E_Config_Dialog_Data *cfdata = NULL;
}
static void
-_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
+_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
{
conf->cfd = NULL;
E_FREE(cfdata);
}
static Evas_Object *
-_basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
+_basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
{
Evas_Object *o = NULL, *of = NULL, *ow = NULL;
}
static int
-_basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
+_basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
{
conf->menu_augmentation = cfdata->menu_augmentation;
if (conf->aug)
}
static void
-_gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient)
+_gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient __UNUSED__)
{
Evas_Coord mw, mh;
}
static char *
-_gc_label(E_Gadcon_Client_Class *client_class)
+_gc_label(E_Gadcon_Client_Class *client_class __UNUSED__)
{
return _("Settings");
}
static Evas_Object *
-_gc_icon(E_Gadcon_Client_Class *client_class, Evas *evas)
+_gc_icon(E_Gadcon_Client_Class *client_class __UNUSED__, Evas *evas)
{
Evas_Object *o;
char buf[PATH_MAX];
}
static const char *
-_gc_id_new(E_Gadcon_Client_Class *client_class)
+_gc_id_new(E_Gadcon_Client_Class *client_class __UNUSED__)
{
return _gadcon_class.name;
}
static void
-_cb_button_click(void *data, void *data2)
+_cb_button_click(void *data __UNUSED__, void *data2 __UNUSED__)
{
E_Action *a;
}
static void
-_e_mod_run_cb(void *data, E_Menu *m, E_Menu_Item *mi)
+_e_mod_run_cb(void *data, E_Menu *m, E_Menu_Item *mi __UNUSED__)
{
Eina_List *l;
E_Configure_Cat *ecat;
- char buf[1024];
EINA_LIST_FOREACH(e_configure_registry, l, ecat)
{
EINA_LIST_FOREACH(ecat->items, l, eci)
{
- char buf[1024];
-
if (eci->pri >= 0)
{
mi = e_menu_item_new(m);
}
EAPI int
-e_modapi_shutdown(E_Module *m)
+e_modapi_shutdown(E_Module *m __UNUSED__)
{
e_configure_del();
}
EAPI int
-e_modapi_save(E_Module *m)
+e_modapi_save(E_Module *m __UNUSED__)
{
e_config_domain_save("module.conf", conf_edd, conf);
return 1;
/* menu item callback(s) */
static void
-_e_mod_conf_cb(void *data, E_Menu *m, E_Menu_Item *mi)
+_e_mod_conf_cb(void *data __UNUSED__, E_Menu *m, E_Menu_Item *mi __UNUSED__)
{
e_configure_show(m->zone->container);
}
/* menu item add hook */
static void
-_e_mod_menu_add(void *data, E_Menu *m)
+_e_mod_menu_add(void *data __UNUSED__, E_Menu *m)
{
E_Menu_Item *mi;
static void
_conf_new(void)
{
- char buf[128];
-
conf = E_NEW(Config, 1);
conf->version = (MOD_CONFIG_FILE_EPOCH << 16);
static int
_conf_timer(void *data)
{
- e_util_dialog_show(_("Configuration Panel Configuration Updated"), data);
+ e_util_dialog_show(_("Configuration Panel Configuration Updated"),
+ "%s", (char *)data);
return 0;
}