e_fm2_parent_go(Evas_Object *obj)
{
E_Fm2_Smart_Data *sd;
- char *path, *p;
+ char *p;
+ const char *path;
sd = evas_object_smart_data_get(obj);
if (!sd) return; // safety
_e_fm2_volume_mount(void *data, E_Menu *m, E_Menu_Item *mi)
{
E_Volume *v;
- char *mp;
+ const char *mp;
v = data;
if (!v) return;
if ((!v->mount_point) || (v->mount_point[0] == 0))
{
char buf[PATH_MAX];
- char *id;
+ const char *id;
if (v->mount_point) eina_stringshare_del(v->mount_point);
v->mount_point = NULL;
return NULL;
}
-EAPI char *
+EAPI const char *
e_fm2_hal_volume_mountpoint_get(E_Volume *v)
{
char buf[PATH_MAX] = {0};
EAPI void e_fm2_hal_volume_add(E_Volume *s);
EAPI void e_fm2_hal_volume_del(E_Volume *s);
EAPI E_Volume *e_fm2_hal_volume_find(const char *udi);
-EAPI char *e_fm2_hal_volume_mountpoint_get(E_Volume *v);
+EAPI const char *e_fm2_hal_volume_mountpoint_get(E_Volume *v);
EAPI void e_fm2_hal_mount_add(E_Volume *v, const char *mountpoint);
EAPI void e_fm2_hal_mount_del(E_Volume *v);
{
char buf[256];
char buf2[256];
- char *mount_point;
+ const char *mount_point;
Eina_List *opt = NULL;
if (!v || v->guard || !v->mount_point || strncmp(v->mount_point, "/media/", 7))
struct
{
- char *drive, *volume;
+ const char *drive, *volume;
} icon;
Eina_List *volumes;