struct context_info *info;
struct context_item *item;
char *key;
- char *value;
char *name;
char *ptr;
int len;
ptr = (char *)group;
len = 0;
key = NULL;
- value = NULL;
/* Skip the first space characters */
while (*ptr && isspace(*ptr)) ptr++;
*/
HAPI int instance_recover_state(struct inst_info *inst)
{
- struct pkg_info *info;
int ret = 0;
if (inst->changing_state) {
break;
case INST_DESTROYED:
DbgPrint("Req. to DESTROYED (%s)\n", package_name(inst->info));
- info = inst->info;
instance_state_reset(inst);
instance_destroy(inst);
break;
HAPI int instance_need_slave(struct inst_info *inst)
{
int ret = 0;
- struct pkg_info *info;
if (inst->client && client_is_faulted(inst->client)) {
- info = inst->info;
-
/*!
* \note
* In this case, the client is faulted(disconnected)
* remove it and don't try to recover its states
*/
- DbgPrint("CLIENT FAULT: Req. to DESTROYED (%s)\n", package_name(info));
+ DbgPrint("CLIENT FAULT: Req. to DESTROYED (%s)\n", package_name(inst->info));
switch (inst->state) {
case INST_INIT:
case INST_ACTIVATED:
break;
case INST_DESTROYED:
DbgPrint("Req. to DESTROYED (%s)\n", package_name(inst->info));
- info = inst->info;
instance_state_reset(inst);
instance_destroy(inst);
break;
static Eina_Bool destroy_cb(void *data, int type, void *event)
{
- Ecore_X_Event_Window_Destroy * info;
- info = event;
+ // Ecore_X_Event_Window_Destroy *info = event;
return ECORE_CALLBACK_PASS_ON;
}