entrance: removed old user pool fields

devs/bu5hm4n/develop
Marcel Hollerbach 8 years ago
parent 778a8a2d0c
commit 0b2eab9acf
  1. 11
      src/daemon/entrance_history.c
  2. 11
      src/event/entrance_event.c
  3. 2
      src/event/entrance_event.h

@ -245,8 +245,6 @@ _entrance_user_init(void)
}
}
eina_stringshare_del(user);
eu->icon_pool = entrance_image_user_icons(eu->login);
eu->background_pool = entrance_image_user_backgrounds(eu->login);
_lusers = eina_list_append(_lusers, eu);
}
}
@ -255,7 +253,6 @@ static void
_entrance_user_shutdown(void)
{
Entrance_Login *eu;
char *buf;
EINA_LIST_FREE(_lusers, eu)
{
if (!_entrance_history_match(eu->login))
@ -266,14 +263,6 @@ _entrance_user_shutdown(void)
eina_stringshare_del(eu->image.group);
eina_stringshare_del(eu->bg.path);
eina_stringshare_del(eu->bg.group);
EINA_LIST_FREE(eu->background_pool, buf)
{
eina_stringshare_del(buf);
}
EINA_LIST_FREE(eu->icon_pool, buf)
{
eina_stringshare_del(buf);
}
free(eu);
}
}

@ -223,9 +223,8 @@ _entrance_event_users_dd(void)
static Eet_Data_Descriptor *
_entrance_event_conf_user_dd(Eina_Bool stream)
{
Eet_Data_Descriptor *edd, *eddi;
Eet_Data_Descriptor *edd;
Eet_Data_Descriptor_Class eddc;
eddi = _entrance_event_image_dd();
EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Entrance_Login);
edd = eet_data_descriptor_stream_new(&eddc);
#define EET_LOGIN_ADD(NAME, TYPE) \
@ -238,14 +237,6 @@ _entrance_event_conf_user_dd(Eina_Bool stream)
EET_LOGIN_ADD(lsess, EET_T_STRING);
EET_LOGIN_ADD(remember_session, EET_T_INT);
// TODO screenshot
if (stream)
{
EET_DATA_DESCRIPTOR_ADD_LIST(edd, Entrance_Login, "icon_pool",
icon_pool, eddi);
EET_DATA_DESCRIPTOR_ADD_LIST(edd, Entrance_Login, "background_pool",
background_pool, eddi);
}
#undef EET_LOGIN_ADD
return edd;
}

@ -94,8 +94,6 @@ typedef struct Entrance_Login_
Entrance_Image bg;
Entrance_Image image;
Eina_Bool remember_session;
Eina_List *icon_pool;
Eina_List *background_pool;
} Entrance_Login;
typedef struct Entrance_User_Pool_

Loading…
Cancel
Save