Change-Id: I27ac9007b4cf89ef55d1dae132f0ed356be974ee
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Elm_Genlist_Item_Class *ttc = elm_genlist_item_class_new();
ad = (appdata *) data;
- if (ad == NULL) return;
+ if (ad == NULL || !ttc) return;
ttc->item_style = "title";
ttc->func.text_get = im_setting_list_default_keyboard_title_text_get;
Elm_Genlist_Item_Class *ttc = elm_genlist_item_class_new();
ad = (appdata *) data;
- if (ad == NULL) return;
+ if (ad == NULL || !ttc) return;
ttc->item_style = "title";
ttc->func.text_get = im_setting_selector_title_text_get;