From e0b0c10914f29d33c1f4b4d20e1e63077bb33244 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 10 Jan 2013 14:05:08 +0000 Subject: [PATCH] rename e_comp_shadow_set to e_comp_shadows_reset to be more descriptive about what it does SVN revision: 82570 --- src/bin/e_comp.c | 2 +- src/bin/e_comp.h | 2 +- src/modules/conf_comp/e_mod_config.c | 4 ++-- src/modules/conf_comp/e_mod_main.c | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 4a7c5bb04..faab25ef7 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -4200,7 +4200,7 @@ e_comp_config_get(void) } EAPI void -e_comp_shadow_set(void) +e_comp_shadows_reset(void) { Eina_List *l; E_Comp *c; diff --git a/src/bin/e_comp.h b/src/bin/e_comp.h index 05af005c9..e096c7fd3 100644 --- a/src/bin/e_comp.h +++ b/src/bin/e_comp.h @@ -15,7 +15,7 @@ EINTERN int e_comp_shutdown(void); EAPI int e_comp_internal_save(void); EAPI E_Comp_Config *e_comp_config_get(void); -EAPI void e_comp_shadow_set(void); +EAPI void e_comp_shadows_reset(void); #endif #endif diff --git a/src/modules/conf_comp/e_mod_config.c b/src/modules/conf_comp/e_mod_config.c index 18e519579..56bed0753 100644 --- a/src/modules/conf_comp/e_mod_config.c +++ b/src/modules/conf_comp/e_mod_config.c @@ -1490,7 +1490,7 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, _comp_mod->conf->shadow_style = NULL; if (cfdata->shadow_style) _comp_mod->conf->shadow_style = eina_stringshare_add(cfdata->shadow_style); - e_comp_shadow_set(); + e_comp_shadows_reset(); } if ((cfdata->engine != _comp_mod->conf->engine) || (cfdata->indirect != _comp_mod->conf->indirect) || @@ -1693,7 +1693,7 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, _comp_mod->conf->shadow_style = NULL; if (cfdata->shadow_style) _comp_mod->conf->shadow_style = eina_stringshare_add(cfdata->shadow_style); - e_comp_shadow_set(); + e_comp_shadows_reset(); } if ((cfdata->engine != _comp_mod->conf->engine) || (cfdata->indirect != _comp_mod->conf->indirect) || diff --git a/src/modules/conf_comp/e_mod_main.c b/src/modules/conf_comp/e_mod_main.c index e36645bfb..966fdc489 100644 --- a/src/modules/conf_comp/e_mod_main.c +++ b/src/modules/conf_comp/e_mod_main.c @@ -119,22 +119,22 @@ e_modapi_init(E_Module *m) co->requires_restart = 1; cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co)); E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_borders, mod->conf, _("Disable composite effects for windows"), _("composite"), _("border"), _("theme"), _("animate")); - co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set; + co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset; cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co)); E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_menus, mod->conf, _("Disable composite effects for menus"), _("composite"), _("menu"), _("theme"), _("animate")); - co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set; + co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset; cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co)); E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_popups, mod->conf, _("Disable composite effects for popups"), _("composite"), _("popup"), _("theme"), _("animate")); - co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set; + co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset; cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co)); E_CONFIGURE_OPTION_ADD(co, BOOL, match.disable_overrides, mod->conf, _("Disable composite effects for override-redirect windows (tooltips and such)"), _("composite"), _("theme"), _("animate")); - co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set; + co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset; cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co)); E_CONFIGURE_OPTION_ADD(co, BOOL, smooth_windows, mod->conf, _("Smooth scaling of composited window content"), _("composite"), _("border")); - co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set; + co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset; cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co)); E_CONFIGURE_OPTION_ADD(co, BOOL, nocomp_fs, mod->conf, _("Don't composite fullscreen windows"), _("composite"), _("border")); - co->funcs[1].none = co->funcs[0].none = e_comp_shadow_set; + co->funcs[1].none = co->funcs[0].none = e_comp_shadows_reset; cfg_opts = eina_inlist_append(cfg_opts, EINA_INLIST_GET(co)); E_CONFIGURE_OPTION_ADD(co, ENUM, engine, mod->conf, _("Compositing engine"), _("composite"), _("border")); co->info_cb = _e_mod_engine_info_cb;