Fix compiler warning.

SVN revision: 49776
This commit is contained in:
Christopher Michael 2010-06-21 02:22:17 +00:00
parent 384a49358f
commit 215051a900
1 changed files with 4 additions and 2 deletions

View File

@ -226,7 +226,9 @@ _e_mod_action_fileman_cb(E_Object *obj, const char *params)
static void
_e_mod_menu_gtk_cb(void *data, E_Menu *m, E_Menu_Item *mi)
{
char *path = data;
char *path;
if (!(path = data)) return;
if (m->zone) e_fwin_new(m->zone->container, NULL, path);
eina_stringshare_del(path);
}
@ -296,7 +298,7 @@ _e_mod_fileman_parse_gtk_bookmarks(E_Menu *m, Eina_Bool need_separator)
ecore_file_file_get(uri->path));
e_util_menu_item_theme_icon_set(mi, "folder");
e_menu_item_callback_set(mi, _e_mod_menu_gtk_cb,
eina_stringshare_add(uri->path));
(void *)eina_stringshare_add(uri->path));
}
}
if (uri) efreet_uri_free(uri);