remove unused members of disk error struct so I don't get stuck with a broken public api

SVN revision: 65043
This commit is contained in:
Mike Blumenkrantz 2011-11-11 05:37:50 +00:00
parent 918dbe2be2
commit b739c80dcd
2 changed files with 1 additions and 7 deletions

View File

@ -75,11 +75,6 @@ struct _Eeze_Event_Disk_Error
{
Eeze_Disk *disk;
const char *message;
struct
{ /* probably switching this to enum */
Eina_Bool mount : 1;
Eina_Bool unmount :1;
} type;
};
/**

View File

@ -50,8 +50,7 @@ _eeze_disk_mount_error_handler(Eeze_Disk *disk, const char *error)
de->disk = disk;
de->message = eina_stringshare_add(error);
/* FIXME: this is a placeholder since currently there are only mount-type errors */
de->type.mount = EINA_TRUE;
/* FIXME: placeholder since currently there are only mount-type errors */
ecore_event_add(EEZE_EVENT_DISK_ERROR, de, (Ecore_End_Cb)_eeze_disk_mount_error_free, NULL);
}