forked from enlightenment/enlightenment
Remove compile warning for evas_stringshare
SVN revision: 19486
This commit is contained in:
parent
824908f473
commit
cd94b9242e
|
@ -406,7 +406,7 @@ _cpufreq_menu_restore_governor(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
if ((!e->conf->governor) || strcmp(e->status->cur_governor, e->conf->governor))
|
||||
{
|
||||
if (e->conf->governor) evas_stringshare_del(e->conf->governor);
|
||||
e->conf->governor = evas_stringshare_add(e->status->cur_governor);
|
||||
e->conf->governor = (char *)evas_stringshare_add(e->status->cur_governor);
|
||||
}
|
||||
e_config_save_queue();
|
||||
}
|
||||
|
@ -423,7 +423,7 @@ _cpufreq_menu_governor(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
{
|
||||
_cpufreq_set_governor(e, governor);
|
||||
if (e->conf->governor) evas_stringshare_del(e->conf->governor);
|
||||
e->conf->governor = evas_stringshare_add(governor);
|
||||
e->conf->governor = (char *)evas_stringshare_add(governor);
|
||||
}
|
||||
e_config_save_queue();
|
||||
}
|
||||
|
|
|
@ -221,7 +221,7 @@ _ibar_new()
|
|||
if (!ib->conf)
|
||||
{
|
||||
ib->conf = E_NEW(Config, 1);
|
||||
ib->conf->appdir = evas_stringshare_add("bar");
|
||||
ib->conf->appdir = (char *)evas_stringshare_add("bar");
|
||||
ib->conf->follower = 1;
|
||||
ib->conf->follow_speed = 0.9;
|
||||
ib->conf->autoscroll_speed = 0.95;
|
||||
|
|
Loading…
Reference in New Issue