Remove compile warning for evas_stringshare
authorChristopher Michael <cpmichael1@comcast.net>
Mon, 2 Jan 2006 06:27:44 +0000 (06:27 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Mon, 2 Jan 2006 06:27:44 +0000 (06:27 +0000)
SVN revision: 19486

src/modules/cpufreq/e_mod_main.c
src/modules/ibar/e_mod_main.c

index 7a6a2f5..3abf32b 100644 (file)
@@ -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();
 }
index 801d127..158481c 100644 (file)
@@ -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;