int powerkey_list(bundle *b, const struct popup_ops *ops)
{
- Elm_Genlist_Item_Class *itc = elm_genlist_item_class_new();
+ Elm_Genlist_Item_Class *itc;
Evas_Object *popup = NULL;
Evas_Object *box = NULL;
Evas_Object *genlist = NULL;
evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ itc = elm_genlist_item_class_new();
itc->item_style = "type1";
itc->func.text_get = gl_text_get_cb;
itc->func.content_get = gl_image_get_cb;